.cursor/skills/qa-coverage-analyzer/SKILL.md
Analyze test coverage across three dimensions -- requirements/model coverage via RTM, technique coverage per ISO 29119-4, and code coverage via Istanbul/V8/JaCoCo -- with risk-based gap recommendations.
npx skillsauth add AZANIR/qa-skills qa-coverage-analyzerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Perform multi-dimensional test coverage analysis across requirements traceability, test design techniques, and code coverage. Identify gaps, prioritize by risk, and produce actionable recommendations for improving test effectiveness.
| Dimension | What It Measures | Key Artifacts | |-----------|------------------|----------------| | 1. Requirements/Model | Which requirements have tests; RTM completeness | RTM (Req → Model → Test → Execution) | | 2. Technique | Which ISO 29119-4 techniques applied | EP, BVA, decision tables, state transitions | | 3. Code | Line, branch, condition, function coverage | Istanbul, V8, JaCoCo, coverage.py, SonarQube |
See references/coverage-dimensions.md for detailed measurement methods.
Model: Requirement → Test Model → Test Case → Execution
Inputs: Requirements doc, RTM, test case inventory, execution results (Zephyr, TestRail, etc.)
Techniques: Equivalence Partitioning (EP), Boundary Value Analysis (BVA), Decision Tables, State Transition, Use Case, Classification Trees
Inputs: Test case metadata (technique tags), requirements, test design docs
Metrics: Line, branch, condition, function coverage
| Language/Stack | Tool | Output Format | |----------------|------|---------------| | JavaScript/TypeScript | Istanbul (c8, nyc), V8 | lcov, json-summary | | Java | JaCoCo | xml, html | | Python | coverage.py | xml, html, json | | SonarQube | SonarQube | Unified dashboard |
See references/tools.md for setup and integration.
# Coverage Dashboard
## Summary
| Dimension | Coverage | Status |
|-----------|----------|--------|
| Requirements | X% | ✅/⚠️/❌ |
| Technique | X techniques avg | ✅/⚠️/❌ |
| Code | Line X%, Branch Y% | ✅/⚠️/❌ |
## Gaps
- [Req ID] Uncovered
- [Module] Low technique diversity
- [File/Module] Low code coverage
## Risk-Based Recommendations
1. [High] ...
2. [Medium] ...
3. [Low] ...
references/coverage-dimensions.md)references/risk-matrix.md); high-risk + low coverage = top priority| Need | Skill | Usage |
|------|-------|-------|
| RTM, test cases from requirements | qa-testcase-from-docs | Source for requirements/model coverage |
| Test design techniques | qa-testcase-from-docs | references/test-design-techniques.md |
| Risk matrix | qa-test-strategy | references/risk-matrix.md |
| Heatmap, charts | qa-diagram-generator | Coverage heatmap, quadrant charts |
| NFR thresholds | qa-nfr-analyst | Coverage targets as NFRs |
Can do (autonomous):
Cannot do (requires confirmation):
Will not do (out of scope):
| Symptom | Likely Cause | Fix | |---------|--------------|-----| | Missing RTM | No traceability in place | Run qa-testcase-from-docs to build RTM; ask for requirement IDs | | Technique tags absent | Test cases not tagged | Add technique metadata; use test-design-techniques reference | | Code coverage format unknown | Tool output not recognized | Check tools.md for supported formats; request lcov/xml | | All dimensions green but quality issues | Coverage ≠ quality | Emphasize technique diversity; recommend exploratory testing | | Recommendations too generic | Insufficient risk context | Request risk matrix; use risk-matrix reference | | Historical comparison fails | No prior data in Memory | Store current run in Memory for future comparison |
| Topic | Reference |
|-------|-----------|
| Coverage dimensions | references/coverage-dimensions.md |
| Coverage tools | references/tools.md |
| Best practices | references/best-practices.md |
tools
Analyze OpenAPI/Swagger spec (JSON or YAML) against existing test files and generate an HTML coverage report with QA automation tasks. Use when user provides an OpenAPI spec file and wants to know test coverage status.
testing
Universal QA plan generator supporting 10 plan types including test plans, sprint plans, regression plans, release plans, UAT plans, performance plans, migration plans, onboarding plans, and custom plans.
development
Generate consumer-driven contract tests using Pact for JavaScript and Python to verify microservice API compatibility between consumer and provider.
development
Master skill coordinating all QA skills through pipeline modes (full-cycle, docs-only, testcases-only, write-tests, report), formalized handoff chains, scheduler rules, and framework/language selection based on project context.