Compare packages
Leave the second field empty to compare against the stdlib waterlevel.
| Check | github.com/alecthomas/chroma/v2 | stdlib | ||
|---|---|---|---|---|
| overall | 91 | overall quality above the stdlib waterlevel | 99 | overall quality above the stdlib waterlevel |
| complexity | 110 | average cyclomatic complexity 3.25 against the stdlib average of 4.22 | 100 | average cyclomatic complexity 4.20 against the stdlib average of 4.20 |
| complexity_p95 | 110 | 95th percentile cyclomatic complexity 10 against the stdlib waterlevel of 15 | 100 | 95th percentile cyclomatic complexity 15 against the stdlib waterlevel of 15 |
| file_size_curve | 110 | share of small files +3.5% against the stdlib size curve | 100 | share of small files +0.0% against the stdlib size curve |
| godoc_coverage | 103 | 214 of 266 exported symbols carry godoc (80% against the stdlib waterlevel of 77%) | 100 | 6883 of 9223 exported symbols carry godoc (74% against the stdlib waterlevel of 74%) |
| median_file_size | 110 | median file 3298 B against the stdlib waterlevel of 3966 B | 100 | median file 3987 B against the stdlib waterlevel of 3987 B |
| median_package_size | 59 | median package 35489 B against the stdlib waterlevel of 21278 B | 100 | median package 22072 B against the stdlib waterlevel of 22072 B |
| test_ratio | 35 | 75 test functions for 266 exported symbols (28% pairing, ideal band 80-100%, stdlib waterlevel 80%) | 97 | 7213 test functions for 9223 exported symbols (78% pairing, ideal band 80-100%, stdlib waterlevel 78%) |