github.com/andybalholm/brotli
This package is a brotli compressor and decompressor implemented in Go. It was translated from the reference implementation (https://github.com/google/brotli) with the c2go tool at ...
63/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 34x bigger than this project (2891 files against 84).
| Check | Score | Bonus | |
|---|---|---|---|
| complexity | 75 | ||
| average cyclomatic complexity 5.58 against the stdlib average of 4.22 | |||
| complexity_p95 | 68 | ||
| 95th percentile cyclomatic complexity 22 against the stdlib waterlevel of 15 | |||
| file_size_curve | 78 | ||
| share of small files -6.5% against the stdlib size curve | |||
| godoc_coverage | 61 | ||
| 34 of 71 exported symbols carry godoc (47% against the stdlib waterlevel of 77%) | |||
| median_file_size | 61 | ||
| median file 6453 B against the stdlib waterlevel of 3966 B | |||
| median_package_size | 27 | ||
| median package 76535 B against the stdlib waterlevel of 21278 B | |||
| test_ratio | 75 | ||
| 43 test functions for 71 exported symbols (60% pairing, ideal band 80-100%, stdlib waterlevel 80%) | |||