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

ben-manes / caffeine / #5455
100%

Build:
DEFAULT BRANCH: master
Ran 11 May 2026 03:58PM 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

11 May 2026 06:13AM UTC coverage: 100.0% (+0.2%) from 99.806%
#5455

push

github

ben-manes
Restore 100% line and branch coverage in the jcache module

After the spec-compliance sweep introduced new branches and a few
dead-code paths, close the remaining gaps:

- Drop the updateAccessTime param from getAndFilterExpiredEntries —
  the #L fix removed the only caller passing false.
- Collapse LoadingCacheProxy.getAll's private two-arg overload back
  into the public method.
- Remove the outer catch (Throwable t) from both loadAll methods.
  Realistic failures are RuntimeException; Errors propagate uncaught
  and the 10s inFlight.allOf().get(...) close timeout handles stale
  futures. Per the OOME-handling memory, defensive Error cleanup
  isn't load-bearing.
- Drop the JCache-level expired branch in EntryIterator.remove's
  lambda — Caffeine's variable expiry (ExpirableToExpiry) evicts
  before the lambda runs, making that branch dead code.
- Add CacheProxyTest regressions for the remaining branches:
  get_expired_statsDisabled_doesNotRecordGetTime,
  loadAll_cacheLoaderException_unwrapped (and the loading variant),
  iterator_remove_calledTwice_throwsISE,
  iterator_remove_valueChangedConcurrently_doesNotRemove.

4012 of 4020 branches covered (99.8%)

4 of 4 new or added lines in 2 files covered. (100.0%)

8245 of 8245 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5455.1 11 May 2026 03:58PM UTC 78
100.0
Source Files on build #5455
  • Tree
  • List 78
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 9742dd42 on github
  • Prev Build on v3.dev
  • 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