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

dunglas / go-urlpattern / 31849736058
92%

Build:
DEFAULT BRANCH: main
Ran 14 Aug 2026 11:16PM UTC
Jobs 1
Files 6
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

14 Aug 2026 11:15PM UTC coverage: 91.872% (-1.0%) from 92.919%
31849736058

push

github

web-flow
test: keep the fuzz harness OSS-Fuzz compatible (#15)

* test: move fuzz targets to the internal test package

OSS-Fuzz's go-118-fuzz-build tool locates a FuzzXxx function by an
exact package-path match against the requested import path, which
excludes the urlpattern_test external test package variant entirely
-- it silently never finds the fuzzers, failing the OSS-Fuzz build
with "Could not find the fuzz func". Every native-Go-fuzzing OSS-Fuzz
project keeps its harness in-package for this reason.

* test: move fuzz harness into its own internal/fuzz package

The repo root already carries external-package test files
(tokenizer_test.go, urlpattern_test.go, benchmark_test.go, all
"package urlpattern_test"). go-118-fuzz-build rewrites every _test.go
file in the fuzzer's directory into a regular .go file as part of its
build, so mixing those with an internal-package fuzz_test.go there
produced two conflicting non-test package clauses in one directory.
Isolating the harness in internal/fuzz avoids the collision.

1492 of 1624 relevant lines covered (91.87%)

1127.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
11
94.24
-2.35% urlpattern.go
5
85.28
-2.54% tokenizer.go
1
85.71
-0.26% parser.go
Jobs
ID Job ID Ran Files Coverage
1 31849736058.1 14 Aug 2026 11:16PM UTC 6
91.87
GitHub Action Run
Source Files on build 31849736058
  • Tree
  • List 6
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cac2a445 on github
  • Prev Build on refs/tags/v1.0.0 (#31848212451)
  • Delete
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