mvdan.cc/gofumpt
gofumpt enforces a stricter format than gofmt, while being backwards compatible.
68/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 115x bigger than this project (2891 files against 25).
| Check | Score | Bonus | |
|---|---|---|---|
| complexity | 59 | ||
| average cyclomatic complexity 7.08 against the stdlib average of 4.22 | |||
| complexity_p95 | 62 | ||
| 95th percentile cyclomatic complexity 24 against the stdlib waterlevel of 15 | |||
| file_size_curve | 92 | ||
| share of small files -2.2% against the stdlib size curve | |||
| godoc_coverage | 100 | +10 | |
| 37 of 41 exported symbols carry godoc (90% against the stdlib waterlevel of 77%) | |||
| median_file_size | 87 | ||
| median file 4545 B against the stdlib waterlevel of 3966 B | |||
| median_package_size | 59 | ||
| median package 35572 B against the stdlib waterlevel of 21278 B | |||
| test_ratio | 11 | ||
| 4 test functions for 41 exported symbols (9% pairing, ideal band 80-100%, stdlib waterlevel 80%) | |||