Compare packages
Leave the second field empty to compare against the stdlib waterlevel.
| Check | github.com/go-openapi/spec | stdlib | ||
|---|---|---|---|---|
| overall | 85 | overall quality above the stdlib waterlevel | 99 | overall quality above the stdlib waterlevel |
| complexity | 110 | average cyclomatic complexity 2.52 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 7 against the stdlib waterlevel of 15 | 100 | 95th percentile cyclomatic complexity 15 against the stdlib waterlevel of 15 |
| file_size_curve | 105 | share of small files +1.5% against the stdlib size curve | 100 | share of small files +0.0% against the stdlib size curve |
| godoc_coverage | 110 | 355 of 358 exported symbols carry godoc (99% against the stdlib waterlevel of 77%) | 100 | 6883 of 9223 exported symbols carry godoc (74% against the stdlib waterlevel of 74%) |
| median_file_size | 95 | median file 4152 B against the stdlib waterlevel of 3966 B | 100 | median file 3987 B against the stdlib waterlevel of 3987 B |
| median_package_size | 4 | median package 431212 B against the stdlib waterlevel of 21278 B | 100 | median package 22072 B against the stdlib waterlevel of 22072 B |
| test_ratio | 61 | 178 test functions for 358 exported symbols (49% 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%) |