LogoClawIndex
CasesSkillsAbout
LogoClawIndex

crap4go - Analyze CRAP score and complexity for Go functions

Computes Change Risk Anti-Pattern metrics by combining cyclomatic complexity and test coverage for Go functions.

Tags

Updated: 2026-09-10

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Run Go test coverage analysis
  • Calculate cyclomatic complexity
  • Compute per-function CRAP scores
  • Generate sorted CRAP report
  • Filter analysis by path fragments

Inputs

  • Go module directory
  • Path fragments

Outputs

  • Coverage profile target/coverage/coverage.out
  • Console CRAP report table

Requirements

  • Go toolchain

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
go
crap-score
cyclomatic-complexity
test-coverage
code-quality
Run Go test coverage analysis
Calculate cyclomatic complexity
Compute per-function CRAP scores
Generate sorted CRAP report
Go module directory
Path fragments
Coverage profile target/coverage/coverage.out
Console CRAP report table