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

rm-hull / dot-block / 21522438693
44%

Build:
DEFAULT BRANCH: main
Ran 30 Jan 2026 04:14PM UTC
Jobs 1
Files 18
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

30 Jan 2026 04:13PM UTC coverage: 43.612% (+0.6%) from 42.996%
21522438693

push

github

web-flow
fix: Report accurate SpaceSaver counts (#71)

* fix: Report accurate SpaceSaver counts

Updates SpaceSaver metric callback to subtract the estimation
error from the entry count when calculating TopN results.

This ensures that metric reports reflect the actual frequency
of entries, rather than including the approximation error
introduced by the SpaceSaver algorithm during eviction.

Also adds comprehensive unit tests for `newSpaceSaverStatsCallback`.

* test: Add coverage for SpaceSaver minKey caching

Improves robustness of `SpaceSaver` functionality by adding explicit tests
for the `minKey` caching mechanism.

*   Ensures `minKey` is correctly initialized and updated after increments
    or replacements.
*   Verifies recomputation occurs if the cached `minKey` becomes invalid.
*   Refactors `TestNewSpaceSaverStatsCallback` to use table-driven testing.

1 of 1 new or added line in 1 file covered. (100.0%)

495 of 1135 relevant lines covered (43.61%)

0.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21522438693.1 30 Jan 2026 04:14PM UTC 18
43.61
GitHub Action Run
Source Files on build 21522438693
  • Tree
  • List 18
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fe8642ee on github
  • Prev Build on main (#21436660543)
  • Next Build on main (#21524779470)
  • 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