Compare packages
Leave the second field empty to compare against the stdlib waterlevel.
| Check | github.com/sergi/go-diff | stdlib | ||
|---|---|---|---|---|
| overall | 75 | overall quality above the stdlib waterlevel | 99 | overall quality above the stdlib waterlevel |
| complexity | 56 | average cyclomatic complexity 7.50 against the stdlib average of 4.22 | 100 | average cyclomatic complexity 4.20 against the stdlib average of 4.20 |
| complexity_p95 | 65 | 95th percentile cyclomatic complexity 23 against the stdlib waterlevel of 15 | 100 | 95th percentile cyclomatic complexity 15 against the stdlib waterlevel of 15 |
| file_size_curve | 95 | share of small files -1.3% against the stdlib size curve | 100 | share of small files +0.0% against the stdlib size curve |
| godoc_coverage | 110 | 39 of 40 exported symbols carry godoc (97% against the stdlib waterlevel of 77%) | 100 | 6883 of 9223 exported symbols carry godoc (74% against the stdlib waterlevel of 74%) |
| median_file_size | 87 | median file 4519 B against the stdlib waterlevel of 3966 B | 100 | median file 3987 B against the stdlib waterlevel of 3987 B |
| median_package_size | 16 | median package 129368 B against the stdlib waterlevel of 21278 B | 100 | median package 22072 B against the stdlib waterlevel of 22072 B |
| test_ratio | 100 | 38 test functions for 40 exported symbols (95% 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%) |