← スキル一覧に戻る

test-coverage-analysis
by dasien
Multi-agent development system template for Claude Code with specialized agents, task queue management, and automated workflows
⭐ 3🍴 1📅 2026年1月24日
SKILL.md
name: "Test Coverage Analysis" description: "Measure and improve test coverage by identifying untested code paths and prioritizing high-risk areas for testing" category: "testing" required_tools: ["Read", "Bash", "Grep"]
Test Coverage Analysis
Purpose
Measure and improve test coverage to ensure code is adequately tested and identify untested areas that may contain bugs.
When to Use
- Evaluating test suite quality
- Identifying untested code paths
- Setting testing goals
- Validating test completeness
Key Capabilities
- Coverage Measurement - Run coverage tools and interpret results
- Gap Analysis - Identify critical untested code
- Prioritization - Focus on high-risk areas first
Approach
- Run coverage tool on test suite
- Review coverage report (line, branch, function coverage)
- Identify uncovered critical paths
- Prioritize based on risk and complexity
- Write tests for important gaps
- Re-run coverage to validate improvement
Example
Context: Coverage report shows 75% line coverage
Analysis:
- Core business logic: 95% covered ✓
- Error handling: 45% covered ⚠️
- Edge cases: 30% covered ⚠️
- UI code: 60% covered
Priority:
1. Add tests for error handling (high risk)
2. Cover common edge cases
3. UI testing (lower priority)
Best Practices
- ✅ Aim for 80%+ coverage on critical code
- ✅ Focus on meaningful tests, not just coverage numbers
- ✅ Test edge cases and error paths
- ❌ Avoid: Chasing 100% coverage on trivial code
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です