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

KarpelesLab / gopcre2 / 23745589309
66%

Build:
DEFAULT BRANCH: master
Ran 30 Mar 2026 12:51PM UTC
Jobs 1
Files 15
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

30 Mar 2026 12:50PM UTC coverage: 65.943% (+0.6%) from 65.361%
23745589309

push

github

MagicalTux
Reduce cyclomatic complexity in lexer, parser, and program

Extract lookup tables for escape sequences (charTypeEscapes,
anchorEscapes, simpleEscapes), POSIX classes (posixClasses), and
opcode names (opNames) to replace large switch statements.

lexEscape: 49 → 22, instString: 33 → 10, posixClassRanges: 15 → 2.
Remaining high-complexity functions are dispatch switches inherent
to the VM/parser/compiler architecture.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

27 of 50 new or added lines in 3 files covered. (54.0%)

1 existing line in 1 file now uncovered.

2674 of 4055 relevant lines covered (65.94%)

251.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
0.0
0.0% program.go
10
63.51
-1.31% lexer.go

Coverage Regressions

Lines Coverage ∆ File
1
63.51
-1.31% lexer.go
Jobs
ID Job ID Ran Files Coverage
1 23745589309.1 30 Mar 2026 12:51PM UTC 15
65.94
GitHub Action Run
Source Files on build 23745589309
  • Tree
  • List 15
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23745589309
  • 8830ee97 on github
  • Prev Build on master (#23745550985)
  • Delete
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