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

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

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

09 May 2026 04:53AM UTC coverage: 100.0%. Remained the same
#5443

push

github

ben-manes
Wrap loader-thrown unchecked exceptions in CaffeinatedGuava

`getUnchecked` and `getAll` lumped `NullPointerException` into the same catch
arm as `InvalidCacheLoadException` and rethrew unwrapped, so a loader-thrown
NPE leaked raw to the caller instead of being wrapped in
`UncheckedExecutionException` per Guava's contract. Hoist `requireNonNull` for
argument validation and drop NPE from the rethrow arm so loader-thrown NPEs
fall into the wrapping branch.

`apply(K)` did a raw `cache.get(key)` with no exception translation, so
checked-exception loaders surfaced the package-private `CacheLoaderException`
to callers. Delegate to `getUnchecked(K)` to match Guava's
`LocalLoadingCache.apply`.

Cross-verified against pure Guava, the wrapper with a Guava loader, and the
wrapper with `caffeinate(loader)` via parameterized tests.

Surfaced by the temporal-walk audit (iss_1ef2ef59, iss_d8502f7c)

3982 of 3990 branches covered (99.8%)

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

8165 of 8165 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5443.1 09 May 2026 05:33AM UTC 78
100.0
Source Files on build #5443
  • 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
  • e69d47e1 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