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

ben-manes / caffeine / 1299
100%

Build:
DEFAULT BRANCH: master
Ran 18 Sep 2015 09:49AM UTC
Jobs 1
Files 68
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

pending completion
1299

push

travis-ci

ben-manes
Add hash flooding protection, tests, and fix optimization

A random hash seed is used per instance so that an attacker cannot
construct an attack that causes the cache to become ineffective (the
admission policy would retain the existing entries).

The additional unit tests (to fix lack of coverage) showed that the
reset optimization to round down odd counters was over eager. It was
designed for items mapped to a single counter, not multiple like in a
CMS. As a larger sample period is beneficial, we divide the odd count
by four so the size never goes negative.

4243 of 4477 relevant lines covered (94.77%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1299.1 (TERM=dumb) 18 Sep 2015 09:49AM UTC 0
94.77
Travis Job 1299.1
Source Files on build 1299
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1299
  • 0ed3341f on github
  • Prev Build on master (#1298)
  • Next Build on master (#1303)
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