modernc.org/ccgo/v4
Command ccgo is a C compiler producing Go code.
54/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 125x bigger than this project (2891 files against 23).
| Check | Score | Bonus | |
|---|---|---|---|
| complexity | 44 | ||
| average cyclomatic complexity 9.54 against the stdlib average of 4.20 | |||
| complexity_p95 | 42 | ||
| 95th percentile cyclomatic complexity 35 against the stdlib waterlevel of 15 | |||
| file_size_curve | 57 | ||
| share of small files -12.8% against the stdlib size curve | |||
| godoc_coverage | 100 | +10 | |
| 5 of 6 exported symbols carry godoc (83% against the stdlib waterlevel of 74%) | |||
| median_file_size | 16 | ||
| median file 24188 B against the stdlib waterlevel of 3987 B | |||
| median_package_size | 100 | +10 | |
| median package 8851 B against the stdlib waterlevel of 22072 B | |||
| test_ratio | 0 | ||
| 23 test functions for 6 exported symbols (383% pairing, ideal band 80-100%, stdlib waterlevel 78%) | |||