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

ben-manes / caffeine / 1648 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2016 07:57AM UTC
Files 64
Run time 2s
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

20 Mar 2016 06:51AM UTC coverage: 95.168% (+0.4%) from 94.731%
TERM=dumb

push

travis-ci

ben-manes
Do not admit entries that exceed the maximum weight

If an entry's weight exceeds the cache's maximum capacity, then evict
it immediately. This avoids flushing the probation segment, though it
probably does flush the admission window (1% of the total size).

Thanks to @blemale for reminding me when I peeked at his WeigherSpec
test [1]. This was fixed in Guava [2], but I had forgotten to port that
over after v19 was released.

Also improved the correction of evaluating the admission candidates when
evicting multiple entries. When a candidate is accepted or evicted the
count is decremented and the next is set for evaluation. This most often
occurs for weighted caches.

[1] https://github.com/blemale/scaffeine
[2] https://github.com/google/guava/commit/b3855ef79

4451 of 4677 relevant lines covered (95.17%)

0.95 hits per line

Source Files on job 1648.1 (TERM=dumb)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1648
  • Travis Job 1648.1
  • b0cd1a55 on github
  • Prev Job for TERM=dumb on master (#1641.1)
  • Next Job for TERM=dumb on master (#1650.1)
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