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

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

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 16 Mar 2026 12:54AM 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 12:26AM UTC coverage: 99.849% (-0.01%) from 99.861%
#5327

push

github

ben-manes
fix minor edge cases in put and remap

- putIfAbsent on async cache: the slow path used the new (unstored)
  value's async status to compute expirationTime, possibly setting the
  existing entry's access time to ~220 years when the new value was
  an incomplete future
- replace on expired entries: schedule cleanup so expired entries
  don't linger until the next maintence cycle
- remap same-instance: skip setValue when the mapping function returns
  the same value instance to avoid unnecessary WeakValueReference churn

3855 of 3870 branches covered (99.61%)

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

1 existing line in 1 file now uncovered.

7909 of 7921 relevant lines covered (99.85%)

1.0 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
99.68
-0.04% caffeine/src/main/java/com/github/benmanes/caffeine/cache/BoundedLocalCache.java
Jobs
ID Job ID Ran Files Coverage
1 #5327.1 16 Mar 2026 12:54AM UTC 78
99.85
Source Files on build #5327
  • Tree
  • List 78
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • a3526ab7 on github
  • Prev Build on v3.dev
  • Next Build on v3.dev
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc