github.com/go-gitea/yaml
The yaml package enables Go programs to comfortably encode and decode YAML values. It was developed within Canonical as part of the juju project, and is based on a pure Go port of the well-known ...
46/100: overall quality below the stdlib waterlevel. Compare against stdlib or another package. How ratings work. API and README badge.
The Go project is only 170x bigger than this project (2891 files against 17).
| Check | Score | Bonus | |
|---|---|---|---|
| complexity | 54 | ||
| average cyclomatic complexity 7.77 against the stdlib average of 4.20 | |||
| complexity_p95 | 57 | ||
| 95th percentile cyclomatic complexity 26 against the stdlib waterlevel of 15 | |||
| file_size_curve | 61 | ||
| share of small files -11.6% against the stdlib size curve | |||
| godoc_coverage | 100 | +10 | |
| 8 of 9 exported symbols carry godoc (88% against the stdlib waterlevel of 74%) | |||
| median_file_size | 38 | ||
| median file 10253 B against the stdlib waterlevel of 3987 B | |||
| median_package_size | 7 | ||
| median package 297131 B against the stdlib waterlevel of 22072 B | |||
| test_ratio | 0 | ||
| 23 test functions for 9 exported symbols (255% pairing, ideal band 80-100%, stdlib waterlevel 78%) | |||