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

KarpelesLab / gopcre2
66%

Build:
DEFAULT BRANCH: master
Repo Added 30 Mar 2026 12:38PM UTC
Token MijaMJtcskBrVbtRU5osXMG8smY2tkYEZ regen
Build 8 Last
Files 15
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • master

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

Relevant lines Covered
Build:
Build:
4055 RELEVANT LINES 2674 COVERED LINES
251.71 HITS PER LINE
Source Files on master
  • Tree
  • List 15
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
23745589309 master 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. l... push 30 Mar 2026 12:51PM UTC MagicalTux github
65.94
23745550985 master Create FUNDING.yml push 30 Mar 2026 12:50PM UTC web-flow github
65.36
23745417861 master Add AllowInlineLimits flag for opt-in pattern limit directives By default, inline limit directives like (*LIMIT_MATCH=N) in patterns are ignored to prevent untrusted patterns from loosening caller-set safety limits. Pass AllowInlineLimits at comp... push 30 Mar 2026 12:46PM UTC MagicalTux github
65.36
23745207466 master Run gofmt -s on all source files Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> push 30 Mar 2026 12:41PM UTC MagicalTux github
65.2
23745180264 master Use official actions and Coveralls GitHub Action Switch to actions/checkout@v6, actions/setup-go@v6, and the official coverallsapp/github-action@v2 for coverage upload. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> push 30 Mar 2026 12:41PM UTC MagicalTux github
65.2
23745122480 master Fix CI to test against Go 1.25 and 1.26 Module requires go 1.25+, so testing against 1.22-1.24 will always fail. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> push 30 Mar 2026 12:39PM UTC MagicalTux github
65.2
23745100505 master Ignore inline limit directives from patterns for safety Inline directives like (*LIMIT_MATCH=N) in patterns are intentionally not honored. If an attacker controls the pattern (which is the prerequisite for a ReDoS attack), they could use inline d... push 30 Mar 2026 12:38PM UTC MagicalTux github
65.2
23745063419 master Add GitHub Actions CI workflow and README badges Add CI workflow running tests on Go 1.22-1.24 with coverage upload to Coveralls. Add badges for pkg.go.dev, GitHub Actions, Coveralls, and Go Report Card. Co-Authored-By: Claude Opus 4.6 (1M conte... push 30 Mar 2026 12:38PM UTC MagicalTux github
65.21
See All Builds (8)

Badge your Repo: gopcre2

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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