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

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

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 16 Mar 2026 06:19PM 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 05:38PM UTC coverage: 99.823% (-0.01%) from 99.836%
#5336

push

github

ben-manes
Add coverage gap tests for expiry exceptions, async completion, and bulk load

Test scenarios that were previously uncovered:
- Expiry.expireAfterCreate throwing on expired entry during compute (catch-
  commit-rethrow pattern with variable expiration and weighted eviction stats)
- Mapping function throwing on expired entry during compute (eviction committed
  with correct old weight in stats, EXPIRED removal cause)
- Compute on expired entry where remapping returns same object instance
  (setValue skip optimization, EXPIRED notification, entry survives)
- AsyncExpiry delegating to user's expireAfterCreate on future completion when
  the user callback throws (entry removed, load failure logged)
- Bulk loadAll with mid-iteration weigher failure (partial put, stats)
- replace() on expired entry scheduling cleanup for deferred eviction

3857 of 3872 branches covered (99.61%)

7898 of 7912 relevant lines covered (99.82%)

1.0 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
99.68
-0.05% caffeine/src/main/java/com/github/benmanes/caffeine/cache/BoundedLocalCache.java
Jobs
ID Job ID Ran Files Coverage
1 #5336.1 16 Mar 2026 06:19PM UTC 78
99.82
Source Files on build #5336
  • Tree
  • List 78
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 8d9b427b on github
  • Prev Build on v3.dev
  • 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