From code-quality
Generate detailed code quality report with metrics and trends
npx claudepluginhub varaku1012/aditi.code --plugin code-quality--format json|html|md# Code Quality Report Generate a comprehensive code quality report. ## Usage ## Report Sections ### 1. Summary Dashboard ### 2. Metrics | Metric | Value | Target | Status | |--------|-------|--------|--------| | Lines of Code | 5,234 | - | Info | | Lint Issues | 12 | <20 | ✅ | | Type Coverage | 92% | >90% | ✅ | | Test Coverage | 72% | >80% | ⚠️ | | Cyclomatic Complexity | 8.2 | <10 | ✅ | | Security Issues | 0 | 0 | ✅ | ### 3. Hot Spots Files with most issues: ### 4. Trends ### 5. Recommendations **Priority Actions:** 1. ⚠️ Increase test coverage in `tools/` (currently 45%) ...
Generate a comprehensive code quality report.
/quality-report # Generate markdown report
/quality-report --format json # JSON for CI/CD
/quality-report --format html # HTML dashboard
/quality-report --compare main # Compare with branch
┌─────────────────────────────────────┐
│ Code Quality Score: 87/100 │
├─────────────────────────────────────┤
│ Linting: ████████░░ 85% │
│ Type Safety: █████████░ 92% │
│ Security: ██████████ 100% │
│ Test Cov: ███████░░░ 72% │
│ Complexity: ████████░░ 80% │
└─────────────────────────────────────┘
| Metric | Value | Target | Status |
|---|---|---|---|
| Lines of Code | 5,234 | - | Info |
| Lint Issues | 12 | <20 | ✅ |
| Type Coverage | 92% | >90% | ✅ |
| Test Coverage | 72% | >80% | ⚠️ |
| Cyclomatic Complexity | 8.2 | <10 | ✅ |
| Security Issues | 0 | 0 | ✅ |
Files with most issues:
1. src/tools/video_generator.py - 5 issues
2. src/agents/character_extractor.py - 3 issues
3. src/pipelines/idea2video_pipeline.py - 2 issues
Quality Score Over Time:
100 ┤
90 ┤ ╭──────╮
80 ┼────╯ ╰────
70 ┤
└───────────────────
-7d -5d -3d -1d now
Priority Actions:
tools/ (currently 45%)agents/screenwriter.pyprocess_frames() function# Quality Report - 2025-12-13
...
{
"score": 87,
"metrics": {...},
"issues": [...],
"timestamp": "2025-12-13T15:00:00Z"
}
Interactive dashboard with charts and drill-down.
# GitHub Actions
- name: Quality Gate
run: |
/quality-report --format json > report.json
score=$(jq '.score' report.json)
if [ $score -lt 80 ]; then
exit 1
fi