github.com/huandu/xstrings
Package xstrings is to provide string algorithms which are useful but not included in `strings` package. See project home page for details. https://github.com/huandu/xstrings
85/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 206x bigger than this project (2891 files against 14).
| Check | Score | Bonus | |
|---|---|---|---|
| complexity | 61 | ||
| average cyclomatic complexity 6.81 against the stdlib average of 4.22 | |||
| complexity_p95 | 71 | ||
| 95th percentile cyclomatic complexity 21 against the stdlib waterlevel of 15 | |||
| file_size_curve | 100 | +10 | |
| share of small files +6.0% against the stdlib size curve | |||
| godoc_coverage | 100 | +10 | |
| 33 of 33 exported symbols carry godoc (100% against the stdlib waterlevel of 77%) | |||
| median_file_size | 100 | +10 | |
| median file 2953 B against the stdlib waterlevel of 3966 B | |||
| median_package_size | 39 | ||
| median package 53426 B against the stdlib waterlevel of 21278 B | |||
| test_ratio | 100 | ||
| 27 test functions for 33 exported symbols (81% pairing, ideal band 80-100%, stdlib waterlevel 80%) | |||