go-crap calculates CRAP scores for Go functions using cyclomatic
complexity and test coverage. It supports ranked reports, coverage
profiles, baseline comparisons, and CI thresholds.
Requires google-go-lang (Go 1.26.2 or newer) to build and to scan Go
projects. The SlackBuild compiles offline using the supplied vendor
archive. Scanning a project may download that project's dependencies
and runs its tests unless an existing coverage profile is supplied.
Only scan projects whose code and tests you trust.
Run "go-crap scan" inside a Go module. Use "go-crap scan --help" for
report formats, exclusions, and failure thresholds. Use
"go-crap scan --coverage-profile=coverage.out" to reuse coverage data.
Upstream usage documentation is installed under
/usr/doc/go-crap-<version>/README.md.
This requires: google-go-lang
Maintained by: Moletastic
Keywords: go,golang,complexity,coverage,code-quality
ChangeLog: go-crap
Homepage:
https://github.com/padiazg/go-crap
Download SlackBuild:
go-crap.tar.gz
go-crap.tar.gz.asc (FAQ)
(the SlackBuild does not include the source)
| Individual Files: |
| README |
| go-crap.SlackBuild |
| go-crap.info |
| gocyclo.LICENSE |
| slack-desc |
| test-finder.LICENSE |
© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of
Patrick Volkerding
Linux® is a registered trademark of
Linus Torvalds