Skip to main content
Run any Skill in Manus
with one click

cargo-crap

Stars3
Forks1
UpdatedJune 23, 2026 at 12:23

用 cargo-crap 计算 Rust 函数的 CRAP(Change Risk Anti-Patterns)分数:圈复杂度 × 覆盖率。 项目脚本分两步:`ci-lcov` 生成 lcov.info(慢,改代码后跑一次),`ci-crap` 仅跑 cargo crap(快,可反复)。 覆盖 `.cargo-crap.toml`、过期 lcov 假阳性、Windows PowerShell 陷阱、baseline 回归、超标函数修复。 用户提到 CRAP、cargo crap、lcov、ci-crap、ci-lcov 时使用。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly