·crap-analysis
{}

crap-analysis

aaronontheweb/dotnet-skills

分析代碼覆蓋率和 CRAP(變更風險反模式)分數以識別高風險代碼。使用 OpenCover 格式和 ReportGenerator 來顯示風險熱點,顯示圈複雜度和未經測試的代碼路徑。

0安裝·0熱度·@aaronontheweb

安裝

$npx skills add https://github.com/aaronontheweb/dotnet-skills --skill crap-analysis

SKILL.md

The CRAP (Change Risk Anti-Patterns) score combines cyclomatic complexity with test coverage to identify risky code.

| CRAP Score | Risk Level | Action Required |

| < 5 | Low | Well-tested, maintainable code | | 5-30 | Medium | Acceptable but watch complexity | | > 30 | High | Needs tests or refactoring |

分析代碼覆蓋率和 CRAP(變更風險反模式)分數以識別高風險代碼。使用 OpenCover 格式和 ReportGenerator 來顯示風險熱點,顯示圈複雜度和未經測試的代碼路徑。 來源:aaronontheweb/dotnet-skills。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/aaronontheweb/dotnet-skills --skill crap-analysis
分類
{}資料分析
認證
收錄時間
2026-02-05
更新時間
2026-02-18

快速解答

什麼是 crap-analysis?

分析代碼覆蓋率和 CRAP(變更風險反模式)分數以識別高風險代碼。使用 OpenCover 格式和 ReportGenerator 來顯示風險熱點,顯示圈複雜度和未經測試的代碼路徑。 來源:aaronontheweb/dotnet-skills。

如何安裝 crap-analysis?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/aaronontheweb/dotnet-skills --skill crap-analysis 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/aaronontheweb/dotnet-skills