Advanced Code Quality #technical-debt #SonarQube #hotspot #code-smell

Technical Debt Measurement Language

5 exercises — master the vocabulary of technical debt measurement: debt ratio, SQALE method, hotspots, SonarQube security classifications, and stakeholder communication.

0 / 5 completed
Technical debt vocabulary quick reference
  • Technical debt ratio — remediation effort ÷ rebuild cost × 100; SQALE: A ≤5%, B 6–10%, C 11–20%, D 21–50%, E >50%
  • Code smell — a code characteristic indicating a deeper problem, without itself being a bug
  • SonarQube vulnerability — definitively exploitable security defect; requires immediate fix
  • SonarQube hotspot — security-sensitive code requiring manual review to classify
  • Hotspot (debt context) — high complexity + high churn = highest bug density risk (Tornhill)
  • SQALE — Software Quality Assessment based on Lifecycle Expectations; underpins SonarQube debt calculation
  • Churn — how frequently a file is modified; combined with complexity to identify hotspots
1 / 5

A SonarQube dashboard shows a project with a technical debt ratio of 8%. A new engineer asks: "What is the technical debt ratio and how is it calculated?"