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

JayBizzle / Crawler-Detect / 27306077372
100%

Build:
DEFAULT BRANCH: master
Ran 10 Jun 2026 09:02PM UTC
Jobs 1
Files 5
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

10 Jun 2026 09:01PM UTC coverage: 100.0%. Remained the same
27306077372

push

github

web-flow
Key compiled-regex cache by fixture class instead of pattern hash (#610)

The memoization added in c617d86 keyed the cache with
md5(serialize($patterns)), which costs ~100us per construction —
about 7x more than the ~14us implode() it was meant to avoid, making
every 'new CrawlerDetect' slower than having no cache at all.

The pattern lists are fixed class properties, so the fixture class
name is a sufficient cache key. compileRegex() is restored to a pure
compile step and the memoization moves to a class-keyed helper.

Measured: ~104us -> ~2.6us per construction (PHP 8.4).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

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

44 of 44 relevant lines covered (100.0%)

14.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27306077372.1 10 Jun 2026 09:02PM UTC 5
100.0
GitHub Action Run
Source Files on build 27306077372
  • Tree
  • List 5
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3b6e2129 on github
  • Prev Build on master (#26437547750)
  • Next Build on master (#27306110050)
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