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

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

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 15 Jul 2026 06:32PM 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

15 Jul 2026 06:18PM UTC coverage: 100.0%. Remained the same
#5645

push

github

ben-manes
Record a putIfAbsent miss for an absent zero-creation-expiry key

putIfAbsent derived its hit/miss from whether a value was stored, so an
absent key under a zero-creation-expiry -- where the new value is
immediately expired and not stored -- recorded a hit instead of a miss.
The JSR-107 statistics table counts a putIfAbsent miss whenever the key
is absent, independent of whether anything was stored; getAndPut already
classifies off prior-presence and gets this right.

Thread prior-presence out of putIfAbsentNoAwait (a present flag set in
the live-mapping branch) and classify the hit/miss by it, leaving the
put and put-time gated on the store. Only the zero-creation-expiry
configuration is affected; the normal, present, and expired-under-normal
cases were already correct.

Pinned by a strengthened JCacheCreationExpiryTest case asserting the
absent zero-creation-expiry putIfAbsent records a miss, not a hit.

4155 of 4164 branches covered (99.78%)

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

8422 of 8422 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5645.1 15 Jul 2026 06:32PM UTC 78
100.0
Source Files on build #5645
  • Tree
  • List 78
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 97df106f 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