github.com/fatih/color
Package color is an ANSI color package to output colorized or SGR defined output to the standard output. The API can be used in several way, pick one that suits you.
70/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 963x bigger than this project (2891 files against 3).
| Check | Score | Bonus | |
|---|---|---|---|
| complexity | 100 | +10 | |
| average cyclomatic complexity 1.34 against the stdlib average of 4.22 | |||
| complexity_p95 | 100 | +10 | |
| 95th percentile cyclomatic complexity 3 against the stdlib waterlevel of 15 | |||
| file_size_curve | 51 | ||
| share of small files -14.6% against the stdlib size curve | |||
| godoc_coverage | 100 | +10 | |
| 62 of 62 exported symbols carry godoc (100% against the stdlib waterlevel of 77%) | |||
| median_file_size | 30 | ||
| median file 13139 B against the stdlib waterlevel of 3966 B | |||
| median_package_size | 56 | ||
| median package 37393 B against the stdlib waterlevel of 21278 B | |||
| test_ratio | 27 | ||
| 14 test functions for 62 exported symbols (22% pairing, ideal band 80-100%, stdlib waterlevel 80%) | |||