QA Metrics
Quality Metrics
| Metric | Formula | Target |
|---|
| Defect Density | Bugs / KLOC (thousand lines of code) | <5 |
| Defect Escape Rate | Prod bugs / Total bugs found | <10% |
| Test Coverage | Covered lines / Total lines | >80% |
| Automation Rate | Auto tests / Total tests | >60% |
| Mean Time to Detect | Time from bug introduced to found | <1 sprint |
| Mean Time to Fix | Time from bug reported to fixed | P1: <4h, P2: <24h |
Process Metrics
- Test execution rate (tests/day)
- Test case creation rate
- Regression test pass rate
- Flaky test rate (target: <5%)
- CI pipeline success rate
Building QA Culture
Quality is Everyone's Responsibility
- Developers write unit tests (not QA)
- Code reviews include testability
- QA involved from requirements (shift-left)
- Definition of Done includes testing
- Blameless bug post-mortems
QA in Agile Teams
- QA as part of cross-functional team
- QA participates in grooming (testability review)
- Acceptance criteria reviewed by QA
- QA pairs with developers
- Exploratory testing every sprint
QA Career Path
| Level | Focus |
|---|
| Junior QA | Test execution, bug reporting |
| QA Engineer | Test design, automation |
| Senior QA | Strategy, mentoring, tooling |
| QA Lead | Team management, process |
| QA Manager | Organization-wide quality strategy |