225 lines
7.4 KiB
Markdown
225 lines
7.4 KiB
Markdown
# Quality Metrics Dashboard Template
|
|
|
|
## Overview Dashboard
|
|
|
|
### Project Quality Health Score
|
|
**Overall Score**: [0-100] ⬆️⬇️➡️
|
|
**Last Updated**: [YYYY-MM-DD HH:MM]
|
|
**Trend**: [7-day/30-day trend indicator]
|
|
|
|
### Critical Quality Indicators
|
|
| Metric | Current | Target | Status | Trend |
|
|
|--------|---------|---------|---------|-------|
|
|
| Anti-Pattern Violations | [#] | 0 | 🔴🟡🟢 | ⬆️⬇️➡️ |
|
|
| Quality Gate Pass Rate | [%] | 95% | 🔴🟡🟢 | ⬆️⬇️➡️ |
|
|
| UDTM Completion Rate | [%] | 100% | 🔴🟡🟢 | ⬆️⬇️➡️ |
|
|
| Brotherhood Review Score | [/10] | 9.0 | 🔴🟡🟢 | ⬆️⬇️➡️ |
|
|
| Technical Debt Trend | [#] | ⬇️ | 🔴🟡🟢 | ⬆️⬇️➡️ |
|
|
|
|
## Pattern Compliance Metrics
|
|
|
|
### Anti-Pattern Detection Summary
|
|
**Total Scans**: [#] scans in last 30 days
|
|
**Violations Found**: [#] total violations
|
|
**Violation Rate**: [#] violations per 1000 lines of code
|
|
**Clean Scans**: [%] of scans with zero violations
|
|
|
|
### Critical Pattern Violations (Zero Tolerance)
|
|
| Pattern Type | Count | Last 7 Days | Last 30 Days | Action Required |
|
|
|-------------|-------|-------------|--------------|-----------------|
|
|
| Mock Services | [#] | [#] | [#] | [Action/Clear] |
|
|
| Placeholder Code | [#] | [#] | [#] | [Action/Clear] |
|
|
| Assumption Code | [#] | [#] | [#] | [Action/Clear] |
|
|
| Generic Errors | [#] | [#] | [#] | [Action/Clear] |
|
|
| Dummy Data | [#] | [#] | [#] | [Action/Clear] |
|
|
|
|
### Warning Pattern Violations
|
|
| Pattern Type | Count | Trend | Resolution Rate |
|
|
|-------------|-------|-------|-----------------|
|
|
| Uncertainty Language | [#] | ⬆️⬇️➡️ | [%] |
|
|
| Shortcut Indicators | [#] | ⬆️⬇️➡️ | [%] |
|
|
| Vague Communication | [#] | ⬆️⬇️➡️ | [%] |
|
|
|
|
## Quality Gate Performance
|
|
|
|
### Gate Success Rates
|
|
| Gate Type | Success Rate | Average Time | Failure Reasons |
|
|
|-----------|-------------|--------------|-----------------|
|
|
| Pre-Implementation | [%] | [hours] | [Top 3 reasons] |
|
|
| Implementation | [%] | [hours] | [Top 3 reasons] |
|
|
| Completion | [%] | [hours] | [Top 3 reasons] |
|
|
|
|
### Gate Failure Analysis
|
|
**Most Common Failures**:
|
|
1. [Failure type]: [%] of failures
|
|
2. [Failure type]: [%] of failures
|
|
3. [Failure type]: [%] of failures
|
|
|
|
**Average Resolution Time**: [hours]
|
|
**Repeat Failure Rate**: [%]
|
|
|
|
## UDTM Protocol Compliance
|
|
|
|
### UDTM Completion Statistics
|
|
**Total UDTM Analyses Required**: [#]
|
|
**Completed on Time**: [#] ([%])
|
|
**Delayed Completions**: [#] ([%])
|
|
**Skipped/Incomplete**: [#] ([%])
|
|
|
|
### UDTM Phase Completion Rates
|
|
| Phase | Completion Rate | Average Duration | Quality Score |
|
|
|-------|----------------|------------------|---------------|
|
|
| Multi-Perspective Analysis | [%] | [minutes] | [/10] |
|
|
| Assumption Challenge | [%] | [minutes] | [/10] |
|
|
| Triple Verification | [%] | [minutes] | [/10] |
|
|
| Weakness Hunting | [%] | [minutes] | [/10] |
|
|
| Final Reflection | [%] | [minutes] | [/10] |
|
|
|
|
### UDTM Confidence Levels
|
|
**Average Confidence**: [%] (Target: >95%)
|
|
**High Confidence (>95%)**: [%] of analyses
|
|
**Medium Confidence (85-95%)**: [%] of analyses
|
|
**Low Confidence (<85%)**: [%] of analyses
|
|
|
|
## Brotherhood Review Effectiveness
|
|
|
|
### Review Performance Metrics
|
|
**Reviews Completed**: [#] in last 30 days
|
|
**Average Review Time**: [hours]
|
|
**Review Backlog**: [#] pending reviews
|
|
**Overdue Reviews**: [#] (>48 hours)
|
|
|
|
### Review Quality Assessment
|
|
| Metric | Score | Target | Status |
|
|
|--------|-------|---------|---------|
|
|
| Specificity of Feedback | [/10] | 8.0 | 🔴🟡🟢 |
|
|
| Evidence-Based Assessment | [/10] | 8.0 | 🔴🟡🟢 |
|
|
| Honest Evaluation | [/10] | 8.0 | 🔴🟡🟢 |
|
|
| Actionable Recommendations | [/10] | 8.0 | 🔴🟡🟢 |
|
|
|
|
### Review Outcomes
|
|
**Approved on First Review**: [%]
|
|
**Conditional Approval**: [%]
|
|
**Rejected**: [%]
|
|
**Average Reviews per Story**: [#]
|
|
|
|
## Technical Standards Compliance
|
|
|
|
### Code Quality Metrics
|
|
| Standard | Current | Target | Status | Trend |
|
|
|----------|---------|---------|---------|-------|
|
|
| Ruff Violations | [#] | 0 | 🔴🟡🟢 | ⬆️⬇️➡️ |
|
|
| MyPy Errors | [#] | 0 | 🔴🟡🟢 | ⬆️⬇️➡️ |
|
|
| Test Coverage | [%] | 85% | 🔴🟡🟢 | ⬆️⬇️➡️ |
|
|
| Documentation Coverage | [%] | 90% | 🔴🟡🟢 | ⬆️⬇️➡️ |
|
|
|
|
### Implementation Quality
|
|
**Real Implementation Rate**: [%] (Target: 100%)
|
|
**Mock/Stub Detection**: [#] instances found
|
|
**Placeholder Code**: [#] instances found
|
|
**Integration Test Success**: [%]
|
|
|
|
## Quality Enforcer Performance
|
|
|
|
### Enforcement Metrics
|
|
**Violations Detected**: [#] in last 30 days
|
|
**False Positives**: [#] ([%])
|
|
**Escalations Required**: [#]
|
|
**Resolution Time**: [hours] average
|
|
|
|
### Team Self-Sufficiency Indicators
|
|
**Decreasing Interaction Rate**: [%] change
|
|
**Self-Detected Violations**: [%] of total violations
|
|
**Proactive Quality Measures**: [#] team-initiated improvements
|
|
**Quality Standard Internalization**: [Score /10]
|
|
|
|
## Technical Debt Management
|
|
|
|
### Debt Accumulation/Resolution
|
|
**New Debt Created**: [#] items this month
|
|
**Debt Resolved**: [#] items this month
|
|
**Net Debt Change**: [+/-#] items
|
|
**Total Outstanding Debt**: [#] items
|
|
|
|
### Debt Category Breakdown
|
|
| Category | Count | Priority | Est. Resolution |
|
|
|----------|-------|----------|-----------------|
|
|
| Critical | [#] | P0 | [days] |
|
|
| High | [#] | P1 | [days] |
|
|
| Medium | [#] | P2 | [weeks] |
|
|
| Low | [#] | P3 | [weeks] |
|
|
|
|
## Team Performance Indicators
|
|
|
|
### Quality-Adjusted Velocity
|
|
**Stories Completed**: [#]
|
|
**Stories Passed Quality Gates**: [#]
|
|
**Quality-Adjusted Velocity**: [#] points
|
|
**Velocity Trend**: ⬆️⬇️➡️
|
|
|
|
### Team Quality Maturity
|
|
| Indicator | Score | Target | Trend |
|
|
|-----------|-------|---------|-------|
|
|
| Standards Knowledge | [/10] | 8.0 | ⬆️⬇️➡️ |
|
|
| Self-Detection Rate | [%] | 80% | ⬆️⬇️➡️ |
|
|
| Proactive Improvement | [/10] | 7.0 | ⬆️⬇️➡️ |
|
|
| Quality Ownership | [/10] | 8.0 | ⬆️⬇️➡️ |
|
|
|
|
## Alerts and Actions Required
|
|
|
|
### 🔴 Critical Alerts (Immediate Action)
|
|
- [Alert]: [Description] - [Action Required] - [Owner] - [Deadline]
|
|
- [Alert]: [Description] - [Action Required] - [Owner] - [Deadline]
|
|
|
|
### 🟡 Warning Alerts (24-48 hours)
|
|
- [Alert]: [Description] - [Monitoring Required] - [Owner]
|
|
- [Alert]: [Description] - [Monitoring Required] - [Owner]
|
|
|
|
### 🟢 Positive Trends (Recognition)
|
|
- [Achievement]: [Description] - [Impact]
|
|
- [Achievement]: [Description] - [Impact]
|
|
|
|
## Monthly Quality Report Summary
|
|
|
|
### Quality Achievements
|
|
**Milestones Reached**:
|
|
- [Achievement 1]: [Date achieved]
|
|
- [Achievement 2]: [Date achieved]
|
|
- [Achievement 3]: [Date achieved]
|
|
|
|
### Areas for Improvement
|
|
**Priority Improvements**:
|
|
1. [Improvement area]: [Specific action plan]
|
|
2. [Improvement area]: [Specific action plan]
|
|
3. [Improvement area]: [Specific action plan]
|
|
|
|
### Quality Investment ROI
|
|
**Time Invested in Quality**: [hours]
|
|
**Defects Prevented**: [estimated #]
|
|
**Rework Avoided**: [estimated hours]
|
|
**ROI Estimate**: [ratio]
|
|
|
|
## Trend Analysis
|
|
|
|
### 3-Month Quality Trends
|
|
```
|
|
Quality Gate Pass Rate:
|
|
Month 1: [%] → Month 2: [%] → Month 3: [%]
|
|
|
|
Anti-Pattern Violations:
|
|
Month 1: [#] → Month 2: [#] → Month 3: [#]
|
|
|
|
Team Self-Sufficiency:
|
|
Month 1: [score] → Month 2: [score] → Month 3: [score]
|
|
```
|
|
|
|
### Predictive Indicators
|
|
**Quality Trajectory**: [Improving/Stable/Declining]
|
|
**Estimated Time to Target Quality**: [weeks/months]
|
|
**Risk of Quality Regression**: [Low/Medium/High]
|
|
|
|
---
|
|
|
|
**Dashboard Updated**: [YYYY-MM-DD HH:MM:SS]
|
|
**Next Update**: [YYYY-MM-DD HH:MM:SS]
|
|
**Data Sources**: Quality Enforcer logs, Git commits, Test results, Review records |