acme/backend-api
72
Architecture Health Score
↑ +8 from last week
Violations Trend (30 days)
Total violations across all categories
Architecture
12
3 blocking
Runtime Risk
4
2 critical
Performance
7
1 XL table
Reliability
8
1 critical
Maintainability
15
warnings only
Debt Delta per PR
Average score change per pull request
Category Breakdown
Current violations by category
Architecture
12
Runtime Risk
4
Performance
7
Reliability
8
Maintainability
15
Recent Pull Requests
| PR | Author | Debt Delta | Blocking | Gate | Time |
|---|---|---|---|---|---|
| #251 Add payment retry logic | sarah | +18 | 2 | FAIL | 12s |
| #250 Fix order export endpoint | khalid | -5 | 0 | PASS | 8s |
| #249 Add activity tag sync | omar | +8 | 0 | PASS | 22s |
| #248 Refactor billing module | khalid | -12 | 0 | PASS | 15s |
| #247 Add order export feature | sarah | +21 | 3 | FAIL | 26s |
Top Hotspot Files
Complexity × Churn = Risk Score
1src/orders/services/invoice.ts
1081
2src/billing/use-cases/charge.ts
756
3src/orders/controllers/export.ts
542
4src/identity/services/sso.ts
321
5src/orders/use-cases/sync-tags.ts
245
AI Insights (Last 7 days)
Top concerns from AI analysis
N+1 Query in syncActivityTags()
PR #249 — Loop queries activity_tags (XL) per site. Suggestion: batch with WHERE IN.
O(n²) in calculateInvoice()
PR #248 — Nested loop on line items. Use Map for O(n) lookup.
Unbounded payload in exportOrders()
PR #247 — Returns full order list without streaming. Use cursor pagination.