github.com/prometheus/procfs
Package procfs provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.
88/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 13x bigger than this project (2891 files against 218).
| Check | Score | Bonus | |
|---|---|---|---|
| complexity | 65 | ||
| average cyclomatic complexity 6.43 against the stdlib average of 4.22 | |||
| complexity_p95 | 65 | ||
| 95th percentile cyclomatic complexity 23 against the stdlib waterlevel of 15 | |||
| file_size_curve | 100 | +8 | |
| share of small files +2.6% against the stdlib size curve | |||
| godoc_coverage | 100 | +10 | |
| 456 of 514 exported symbols carry godoc (88% against the stdlib waterlevel of 77%) | |||
| median_file_size | 100 | +10 | |
| median file 3377 B against the stdlib waterlevel of 3966 B | |||
| median_package_size | 100 | +10 | |
| median package 19091 B against the stdlib waterlevel of 21278 B | |||
| test_ratio | 52 | ||
| 221 test functions for 514 exported symbols (42% pairing, ideal band 80-100%, stdlib waterlevel 80%) | |||