Compare packages
Leave the second field empty to compare against the stdlib waterlevel.
| Check | github.com/AlecAivazis/survey/v2 | stdlib | ||
|---|---|---|---|---|
| overall | 89 | overall quality above the stdlib waterlevel | 99 | overall quality above the stdlib waterlevel |
| complexity | 90 | average cyclomatic complexity 4.65 against the stdlib average of 4.22 | 100 | average cyclomatic complexity 4.20 against the stdlib average of 4.20 |
| complexity_p95 | 68 | 95th percentile cyclomatic complexity 22 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 +9.3% against the stdlib size curve | 100 | share of small files +0.0% against the stdlib size curve |
| godoc_coverage | 79 | 86 of 140 exported symbols carry godoc (61% 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 1659 B against the stdlib waterlevel of 3966 B | 100 | median file 3987 B against the stdlib waterlevel of 3987 B |
| median_package_size | 96 | median package 22051 B against the stdlib waterlevel of 21278 B | 100 | median package 22072 B against the stdlib waterlevel of 22072 B |
| test_ratio | 73 | 83 test functions for 140 exported symbols (59% 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%) |