github.com/confluentinc/bincover
Package bincover provides an easy way to measure code coverage of Golang binaries. See examples/ to see how bincover is used to measure coverage of a simple Go application.
87/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 | 94 | ||
| average cyclomatic complexity 4.43 against the stdlib average of 4.20 | |||
| complexity_p95 | 68 | ||
| 95th percentile cyclomatic complexity 22 against the stdlib waterlevel of 15 | |||
| file_size_curve | 100 | +10 | |
| share of small files +7.9% against the stdlib size curve | |||
| godoc_coverage | 48 | ||
| 4 of 11 exported symbols carry godoc (36% against the stdlib waterlevel of 74%) | |||
| median_file_size | 100 | +10 | |
| median file 2138 B against the stdlib waterlevel of 3987 B | |||
| median_package_size | 100 | +10 | |
| median package 2401 B against the stdlib waterlevel of 22072 B | |||
| test_ratio | 73 | ||
| 14 test functions for 11 exported symbols (127% pairing, ideal band 80-100%, stdlib waterlevel 78%) | |||