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

umputun / revdiff / 24231004838
88%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.1
DEFAULT BRANCH: master
Ran 10 Apr 2026 07:07AM UTC
Jobs 1
Files 32
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

10 Apr 2026 07:05AM UTC coverage: 88.055% (+0.6%) from 87.498%
24231004838

Pull #87

github

umputun
fix: address Copilot review — hex validation and long-line cap

- parseHexRGB now validates each nibble explicitly; invalid hex chars
  return ok=false instead of silently parsing as black. matches the
  shiftLightness contract ("unparseable -> unchanged").
- changedTokenRanges caps line length at 500 bytes before running LCS
  to prevent O(m*n) memory blowup on pathological input (minified
  files, very long configs). lines above the cap still render with
  whole-line add/remove highlighting, just no word-level detail.

Copilot also flagged `for i := range n` as a compile error but that's
a false positive — Go 1.22+ supports integer ranges.
Pull Request #87: feat: add intra-line word-diff highlighting

435 of 470 new or added lines in 7 files covered. (92.55%)

1 existing line in 1 file now uncovered.

5588 of 6346 relevant lines covered (88.06%)

397.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
23
53.05
-0.03% app/main.go
5
94.74
app/ui/colorutil.go
4
92.79
0.57% app/ui/diffview.go
3
98.51
app/ui/worddiff.go

Coverage Regressions

Lines Coverage ∆ File
1
92.79
0.57% app/ui/diffview.go
Jobs
ID Job ID Ran Files Coverage
1 24231004838.1 10 Apr 2026 07:07AM UTC 32
88.06
GitHub Action Run
Source Files on build 24231004838
  • Tree
  • List 32
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #87
  • PR Base - master (#24220377546)
  • 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