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

ben-manes / caffeine / #5332
100%

Build:
DEFAULT BRANCH: master
Ran 16 Mar 2026 05:57AM UTC
Jobs 1
Files 78
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

16 Mar 2026 03:30AM UTC coverage: 99.861% (+0.03%) from 99.836%
#5332

push

github

ben-manes
Fix int overflow in hill climber sample counter sum

In determineAdjustment(), hitsInSample() + missesInSample() was computed
as int + int, which silently overflows when the true sum exceeds
Integer.MAX_VALUE. This occurs for caches with maximumSize >= ~107M where
sampleSize saturates at Integer.MAX_VALUE. The overflowed (negative) sum
permanently fails the requestCount < sampleSize check, preventing the
hill climber from adjusting the window/main partition and feeding a
negative hit rate into the step size calculation.

3857 of 3870 branches covered (99.66%)

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

7894 of 7905 relevant lines covered (99.86%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5332.1 16 Mar 2026 05:57AM UTC 78
99.86
Source Files on build #5332
  • Tree
  • List 78
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • fded8311 on github
  • Prev Build on master
  • Next Build on master
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