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

ben-manes / caffeine / #5413
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 27 Apr 2026 05:05AM 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

27 Apr 2026 04:53AM UTC coverage: 100.0%. Remained the same
#5413

push

github

ben-manes
Fix removal in identity views and widen hill-climber counters

values().remove(o): for weak/soft value caches now uses identity
equivalence (matching IdentityHashMap's semantics) rather than Guava's
accidental equals-based behavior (inherited from AbstractCollection).

keySet()/entrySet().removeAll: the size optimization picks between
iterating the cache vs. iterating the user collection, but for weak
keys the cache compares by identity. Iterating the user collection
calls cache.remove(item) with a possibly equal-but-distinct instance,
which misses by identity. Always iterate the cache when collectKeys()
is true, matching IdentityHashMap.KeySet.removeAll's defensive comment.

hitsInSample and missesInSample widen from int to long to avoid
counters overflowing before the hill climber reset triggered, leaving
requestCount stuck negative and permanently disabling adjustment.

Expanded the internal consistency checks in the test assertions for a
more thorough verification.

3931 of 3936 branches covered (99.87%)

8 of 8 new or added lines in 3 files covered. (100.0%)

8020 of 8020 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5413.1 27 Apr 2026 05:05AM UTC 78
100.0
Source Files on build #5413
  • Tree
  • List 78
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 5d2b5b13 on github
  • Prev Build on master
  • Next Build on v3.dev
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