Crap4DotNet
$ crap4dotnet Community Low RiskCrap4DotNet (crap4dotnet) — CLI tool for computing CRAP (Change Risk Anti-Patterns) scores on .NET projects. Combines cyclomatic complexity with code coverage to identify risky, under-tested methods.. Verified across NuGet DotnetTool; included for structured shell automation under FCRS-1.0 baseline review.
dotnet tool install -g Crap4DotNet Pure CLI utility (crap4dotnet); directly invoked in shell workflows without an equivalent MCP server layer.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Registry-verified CLI binary (crap4dotnet); inspect --help output before assuming structured JSON flags.
- Indexed in NuGet DotnetTool
Classified as low risk based on files-search scope and upstream package metadata.
- Install channel verified via
dotnet tool install -g Crap4DotNet - Package checksum verified by upstream registry
Installable via dotnet tool install -g Crap4DotNet across macos, linux, windows.
- Primary install:
dotnet tool install -g Crap4DotNet
CLI tool for computing CRAP (Change Risk Anti-Patterns) scores on .NET projects. Combines cyclomatic complexity with code coverage to identify risky, under-tested methods.
- Official homepage/source: https://github.com/7Factor/crap4dotnet
community lineage tool maintained by 7f.
- Upstream repository: 7factor/crap4dotnet
Upstream documentation linked at https://github.com/7Factor/crap4dotnet; baseline FCRS cap applies until local probe runs.
- https://github.com/7Factor/crap4dotnet
Security, Auth & Guardrails
Local execution tool; typically requires no external credentials unless targeting remote endpoints.
Open-source / free local execution; zero API token or SaaS billing overhead from the binary itself.
When invoking `crap4dotnet`, verify flags with `crap4dotnet --help` first, close stdin to avoid interactive prompts, and require confirmation before remote or destructive mutations.
Agent-Ready Command Recipes
Safe Read-Only Queries
crap4dotnet --help
Discover supported flags and subcommands for crap4dotnet before constructing automated calls.
crap4dotnet --version
Confirm crap4dotnet is installed and executable in PATH with zero side effects.
Strengths for Agents
- + Indexed in NuGet DotnetTool with reproducible install via
dotnet tool install -g Crap4DotNet - + Standalone CLI binary (
crap4dotnet) directly composable in shell pipelines
Caveats & Pitfalls
- ! Low-confidence baseline review: not yet locally probed on this host; run
crap4dotnet --helpto verify flags before scripting