Analyze test coverage and provide recommendations
Analyzes test coverage across multiple dimensions and provides actionable recommendations.
/plugin marketplace add AsiaOstrich/universal-dev-standards/plugin install universal-dev-standards@asia-ostrichfile or module to analyze | 要分析的檔案或模組Analyze test coverage across multiple dimensions and provide actionable recommendations.
多維度分析測試覆蓋率並提供可執行的建議。
| Dimension | What it Measures | 測量內容 |
|---|---|---|
| Line | Lines executed | 執行的行數 |
| Branch | Decision paths | 決策路徑 |
| Function | Functions called | 呼叫的函數 |
| Statement | Statements executed | 執行的陳述式 |
| Level | Coverage | Use Case |
|---|---|---|
| Minimum | 60% | Legacy code |
| Standard | 80% | Most projects |
| High | 90% | Critical systems |
| Critical | 95%+ | Safety-critical |
/coverage - Run full coverage analysis/coverage src/auth - Analyze specific module/coverage --recommend - Get test recommendations