github.com/goccy/go-json
Fast JSON encoder/decoder compatible with encoding/json for Go
72/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 12x bigger than this project (2891 files against 225).
| Check | Score | Bonus | |
|---|---|---|---|
| complexity | 72 | ||
| average cyclomatic complexity 5.78 against the stdlib average of 4.20 | |||
| complexity_p95 | 93 | ||
| 95th percentile cyclomatic complexity 16 against the stdlib waterlevel of 15 | |||
| file_size_curve | 90 | ||
| share of small files -2.9% against the stdlib size curve | |||
| godoc_coverage | 54 | ||
| 150 of 373 exported symbols carry godoc (40% against the stdlib waterlevel of 74%) | |||
| median_file_size | 82 | ||
| median file 4813 B against the stdlib waterlevel of 3987 B | |||
| median_package_size | 25 | ||
| median package 88261 B against the stdlib waterlevel of 22072 B | |||
| test_ratio | 90 | ||
| 411 test functions for 373 exported symbols (110% pairing, ideal band 80-100%, stdlib waterlevel 78%) | |||