• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rm-hull / fuel-prices-api / 22203563982
22%
main: 22%

Build:
Build:
LAST BUILD BRANCH: feat/brand-icons
DEFAULT BRANCH: main
Ran 19 Feb 2026 10:55PM UTC
Jobs 1
Files 15
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Feb 2026 10:55PM UTC coverage: 22.017% (-6.8%) from 28.783%
22203563982

Pull #11

github

rm-hull
feat: improve brand matching and update metadata

- Update `MatchBrandName` to use **longest-prefix matching**. This
  improves accuracy for multi-word retailer names compared to the
  previous word-splitting approach.
- Set `lineNum` to `1` in the CSV parser to align with standard 1-based
  indexing.
- Correct URLs and logo assets for **OIL 4 WALES** and **OUR COOP** in
  `retailers.csv`.

```mermaid
sequenceDiagram
    participant App
    participant Retailers
    App->>Retailers: MatchBrandName("OIL 4 WALES")
    Note over Retailers: Normalize input to uppercase
    loop For each retailerName in map
        alt name starts with retailerName
            Note over Retailers: Keep match if it's the longest found
        end
    end
    Retailers-->>App: Return bestMatch
```
Pull Request #11: feat: add command to update retailer favicons & enrich search results with retailer metadata

11 of 257 new or added lines in 8 files covered. (4.28%)

203 of 922 relevant lines covered (22.02%)

0.24 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
0.0
0.0% cmd/bootstrap.go
19
0.0
0.0% main.go
22
0.0
internal/brands/retailers.go
24
22.58
internal/models/retailer.go
35
0.0
cmd/update_favicons.go
44
0.0
internal/csv.go
97
0.0
internal/favicon/extractor.go
Jobs
ID Job ID Ran Files Coverage
1 22203563982.1 19 Feb 2026 10:55PM UTC 15
22.02
GitHub Action Run
Source Files on build 22203563982
  • Tree
  • List 15
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #11
  • PR Base - main (#22200286581)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc