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

rm-hull / dot-block / 21522438693 / 1
41%
main: 41%

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

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.

495 of 1135 relevant lines covered (43.61%)

0.47 hits per line

Source Files on job 21522438693.1
  • Tree
  • List 18
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21522438693
  • fe8642ee on github
  • Prev Job for on main (#21436660543.1)
  • Next Job for on main (#21524779470.1)
  • 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