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

inikulin / parse5 / 42260506814
96%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2026 05:20PM UTC
Jobs 1
Files 41
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

06 Nov 2026 05:18PM UTC coverage: 95.638% (+0.01%) from 95.627%
42260506814

push

github

web-flow
fix(tokenizer): bound the duplicate-attribute check for wide tags (#1922)

Checking every new attribute name against every earlier one makes a tag with many attributes quadratic (#1901). Tags with up to 64 attributes keep the direct scan; once a 65th distinct name is accepted, the names are collected in a Set that is used for the rest of the tag and dropped when the tag is emitted. Duplicate semantics (first wins, parse error) and attribute order are unchanged. The field starts as `null`, so a wide tag does not add a property to the tokenizer; adding one made later tokenizing in the same process 2–5% slower.

The test counts reads of earlier attributes for 2,000 names and checks that the next tag does not see the wide tag's names.

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

553 of 556 branches covered (99.46%)

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

3925 of 4104 relevant lines covered (95.64%)

54262.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42260506814.1 06 Nov 2026 05:20PM UTC 41
95.64
GitHub Action Run
Source Files on build 42260506814
  • Tree
  • List 41
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42260506814
  • 7bf0fc95 on github
  • Prev Build on master (#42144870628)
  • Next Build on master (#42385976697)
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