github.com/dlclark/regexp2/v2
Package regexp2 is a regexp package that has an interface similar to Go's framework regexp engine but uses a more feature full regex engine behind the scenes.
66/100: overall quality above the stdlib waterlevel. Compare against stdlib or another package. How ratings work. API and README badge.
The Go project is only 36x bigger than this project (2891 files against 80).
| Check | Score | Bonus | |
|---|---|---|---|
| complexity | 63 | ||
| average cyclomatic complexity 6.58 against the stdlib average of 4.20 | |||
| complexity_p95 | 68 | ||
| 95th percentile cyclomatic complexity 22 against the stdlib waterlevel of 15 | |||
| file_size_curve | 78 | ||
| share of small files -6.5% against the stdlib size curve | |||
| godoc_coverage | 71 | ||
| 135 of 253 exported symbols carry godoc (53% against the stdlib waterlevel of 74%) | |||
| median_file_size | 64 | ||
| median file 6224 B against the stdlib waterlevel of 3987 B | |||
| median_package_size | 70 | ||
| median package 31408 B against the stdlib waterlevel of 22072 B | |||
| test_ratio | 53 | ||
| 373 test functions for 253 exported symbols (147% pairing, ideal band 80-100%, stdlib waterlevel 78%) | |||