github.com/rivo/uniseg
Package uniseg implements Unicode Text Segmentation, Unicode Line Breaking, and string width calculation for monospace fonts. Unicode Text Segmentation conforms to Unicode Standard Annex #29 ...
42/100: overall quality below the stdlib waterlevel. Compare against stdlib or another package. How ratings work. API and README badge.
The Go project is only 99x bigger than this project (2891 files against 29).
| Check | Score | Bonus | |
|---|---|---|---|
| complexity | 25 | ||
| average cyclomatic complexity 16.40 against the stdlib average of 4.22 | |||
| complexity_p95 | 17 | ||
| 95th percentile cyclomatic complexity 86 against the stdlib waterlevel of 15 | |||
| file_size_curve | 24 | ||
| share of small files -22.6% against the stdlib size curve | |||
| godoc_coverage | 100 | +10 | |
| 29 of 29 exported symbols carry godoc (100% against the stdlib waterlevel of 77%) | |||
| median_file_size | 39 | ||
| median file 9988 B against the stdlib waterlevel of 3966 B | |||
| median_package_size | 0 | ||
| median package 4469010 B against the stdlib waterlevel of 21278 B | |||
| test_ratio | 83 | ||
| 34 test functions for 29 exported symbols (117% pairing, ideal band 80-100%, stdlib waterlevel 80%) | |||