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

umputun / revdiff / 24178390608
88%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.1
DEFAULT BRANCH: master
Ran 09 Apr 2026 07:37AM 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

09 Apr 2026 07:35AM UTC coverage: 87.995% (+0.3%) from 87.738%
24178390608

Pull #73

github

rashpile
feat(worddiff): auto-derive word-diff bg from add/remove bg

Remove hardcoded default word-diff colors. When color-word-add-bg or
color-word-remove-bg is unset, derive it at runtime by shifting the
lightness of the corresponding add-bg/remove-bg by 15% (dark gets
lighter, light gets darker). This ensures word-diff works out of the
box for custom themes that don't define the two new color keys.

Bundled themes ship pre-computed values (via ShiftLightness) so
--dump-theme and --dump-config include them. Explicit overrides in
config/CLI/theme still take precedence.

- add app/ui/colorutil.go with ShiftLightness and HSL utilities
- add app/ui/colorutil_test.go with roundtrip and known-value tests
- update bundled theme gallery with derived word-diff colors
Pull Request #73: feat: intra-line word-diff highlighting (experimental)

336 of 378 new or added lines in 10 files covered. (88.89%)

1 existing line in 1 file now uncovered.

5380 of 6114 relevant lines covered (87.99%)

402.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
32
51.96
-1.12% app/main.go
6
93.67
-0.25% app/ui/collapsed.go
4
97.28
app/ui/worddiff.go

Coverage Regressions

Lines Coverage ∆ File
1
51.96
-1.12% app/main.go
Jobs
ID Job ID Ran Files Coverage
1 24178390608.1 09 Apr 2026 07:37AM UTC 32
87.99
GitHub Action Run
Source Files on build 24178390608
  • Tree
  • List 32
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #73
  • PR Base - master (#24174881620)
  • 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