github.com/sergi/go-diff
go-diff offers algorithms to perform operations required for synchronizing plain text:
75/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 240x bigger than this project (2891 files against 12).
| Check | Score | Bonus | |
|---|---|---|---|
| complexity | 56 | ||
| average cyclomatic complexity 7.50 against the stdlib average of 4.22 | |||
| complexity_p95 | 65 | ||
| 95th percentile cyclomatic complexity 23 against the stdlib waterlevel of 15 | |||
| file_size_curve | 95 | ||
| share of small files -1.3% against the stdlib size curve | |||
| godoc_coverage | 100 | +10 | |
| 39 of 40 exported symbols carry godoc (97% against the stdlib waterlevel of 77%) | |||
| median_file_size | 87 | ||
| median file 4519 B against the stdlib waterlevel of 3966 B | |||
| median_package_size | 16 | ||
| median package 129368 B against the stdlib waterlevel of 21278 B | |||
| test_ratio | 100 | ||
| 38 test functions for 40 exported symbols (95% pairing, ideal band 80-100%, stdlib waterlevel 80%) | |||