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

inikulin / parse5 / 42259953270
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: chore/v8.1.1
DEFAULT BRANCH: master
Ran 06 Nov 2026 05:16PM 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:15PM UTC coverage: 95.638%. First build
42259953270

Pull #1922

github

fb55
fix(tokenizer): bound the duplicate-attribute check for wide tags

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>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #1922: fix(tokenizer): bound the duplicate-attribute check for wide tags

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%)

54266.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42259953270.1 06 Nov 2026 05:16PM UTC 41
95.64
GitHub Action Run
Source Files on build 42259953270
  • Tree
  • List 41
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42259953270
  • Pull Request #1922
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