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

umputun / revdiff / 24173697411
88%

Build:
DEFAULT BRANCH: master
Ran 09 Apr 2026 05:16AM UTC
Jobs 1
Files 30
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

09 Apr 2026 05:14AM UTC coverage: 87.738% (+0.4%) from 87.363%
24173697411

push

github

web-flow
refactor: comprehensive code smells cleanup (#76)

- simplify if/else patterns with guard clauses and early returns
- replace else-if chains with switch statements
- extract repeated expressions into helper methods
- convert standalone functions to struct methods
- unexport ParseUnifiedDiff (internal to diff package)
- unexport over-exported symbols in theme package
- extract shared helpers to reduce code duplication
- fix unicode truncation in file tree and theme selector
- reduce parameter counts using option structs
- fix value receiver confusion on struct methods
- use slices package for cleaner collection operations
- add constants for magic numbers and doc comments

279 of 289 new or added lines in 21 files covered. (96.54%)

4 existing lines in 3 files now uncovered.

5116 of 5831 relevant lines covered (87.74%)

405.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
83.82
2.75% app/theme/theme.go
2
53.08
-1.26% app/main.go
1
93.15
-0.56% app/ui/annotate.go
1
93.92
0.02% app/ui/collapsed.go
1
91.48
0.0% app/ui/diffnav.go
1
91.13
1.66% app/ui/search.go

Coverage Regressions

Lines Coverage ∆ File
2
91.13
1.66% app/ui/search.go
1
93.15
-0.56% app/ui/annotate.go
1
68.75
0.48% app/ui/themeselect.go
Jobs
ID Job ID Ran Files Coverage
1 24173697411.1 09 Apr 2026 05:16AM UTC 30
87.74
GitHub Action Run
Source Files on build 24173697411
  • Tree
  • List 30
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d27ea80b on github
  • Prev Build on refs/tags/v0.15.1 (#24168554463)
  • Next Build on master (#24174202498)
  • 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