incubator: goqu

← Back

github.com/charmbracelet/colorprofile

goqu 85%

Package colorprofile provides a way to downsample ANSI escape sequence colors and styles automatically based on output, environment variables, and Terminfo databases.

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 361x bigger than this project (2891 files against 8).

Check Score Bonus
complexity 75
average cyclomatic complexity 5.60 against the stdlib average of 4.22
complexity_p95 78
95th percentile cyclomatic complexity 19 against the stdlib waterlevel of 15
file_size_curve 100
+10
share of small files +6.5% against the stdlib size curve
godoc_coverage 100
+10
12 of 12 exported symbols carry godoc (100% against the stdlib waterlevel of 77%)
median_file_size 84
median file 4692 B against the stdlib waterlevel of 3966 B
median_package_size 69
median package 30451 B against the stdlib waterlevel of 21278 B
test_ratio 72
7 test functions for 12 exported symbols (58% pairing, ideal band 80-100%, stdlib waterlevel 80%)

History