Covers what a technical debt register is, the fields each entry needs (impact, interest, effort, owner), prioritising with cost of delay and WSJF, capacity models for paying debt down, and framing debt in business terms for product owners.
A technical debt register is a prioritised backlog of known debt, where every entry records what it is, the interest it charges, the effort to fix, an owner and the evidence: lead time in that area, incident counts, hours lost.
The trade-off: not all debt is worth paying. Track it, measure its interest, and pay the expensive debt first.
"I run a technical debt register as a real backlog, not a complaints page. Each entry has a short description, where it lives, the interest it's charging (the ongoing cost, like 'every change to tax rules takes three extra days' or 'caused two Sev-2 incidents this quarter'), an effort estimate to fix, a risk rating and an owner. Usually that's a work item type or a tag in Azure DevOps or Jira, so debt competes on the same board as features rather than living in a separate document nobody opens.
To prioritise, I use cost of delay: what does it cost us per sprint to leave this alone? Then I divide by effort, which is basically WSJF. That naturally pushes debt in hotspots, the files we change every sprint, to the top, and leaves ugly code that nobody touches at the bottom, because it isn't charging interest. I back entries with evidence: lead time for changes in that area, incident counts, change-failure rate, hours lost on on-call. Git history is useful here: a file with high churn and high complexity is where debt hurts most.
With product owners, I never say 'the code is messy'. I say 'adding a new payment provider currently takes about six weeks because the gateway code is tangled; after this work it's about two, and we have three providers on the roadmap'. I propose a standing capacity slice, often 15 to 20 percent, for the top register items, and I fold debt that blocks a roadmap feature into that feature's estimate. The mistake I see is treating debt as a moral issue and asking for a 'refactoring sprint'. Debt is a financial decision: pay off the expensive loans first."
| Field | Example |
|---|---|
| Title | Pricing rules hard-coded across OrderService and QuoteService |
| Location | Orders.Application/Pricing/* |
| Interest | +3 days per pricing change; 2 incidents in Q3 from inconsistent rules |
| Effort | ~8 days (extract a PricingPolicy, add characterisation tests) |
| Risk if ignored | Wrong prices charged; ACCC consumer law exposure |
| Owner / status | [name], Ready |
| Evidence | Lead time chart, incident links |
| Item | Cost of delay (per sprint) | Effort (days) | Score (CoD รท effort) | Order |
|---|---|---|---|---|
| Pricing duplication | 6 dev-days + incident risk | 8 | High | 1 |
| Old EF Core 6 project | 1 dev-day; out of support | 5 | Medium | 2 |
| Ugly report module, untouched for 2 years | ~0 | 15 | Low | Park |
| Model | When it fits | Watch out for |
|---|---|---|
| Capacity slice (15โ20%) | Steady, ongoing debt | Slice quietly taken back for features |
| Boy Scout rule (fix as you go) | Small debt in code you're already changing | Scope creep in feature PRs |
| Debt in the feature estimate | Debt blocks a roadmap item | Honest estimates, not padding |
| Dedicated project | Large, high-risk debt (framework upgrade) | Needs a business case and milestones |
On an invoicing system, the register showed that the tax-rule module was involved in 40% of production incidents over six months and added about three days to every rule change. We put a business case to the product owner using those numbers, spent two sprints at 30% capacity extracting and testing it, and incidents in that area dropped from five per quarter to one, while rule changes went from a week to about two days.
Checks whether the candidate treats technical debt as a managed, evidence-based trade-off and can communicate it to non-engineers.
Green flags
Red flags
Ward Cunningham's metaphor: shipping code that doesn't match your current understanding is like borrowing. The principal is the effort to fix it; the interest is the extra effort every future change costs. Martin Fowler's quadrant adds intent:
Reckless Prudent
Deliberate "No time for design" "Ship now, refactor after launch"
Inadvertent "What's layering?" "Now we know how it should have been"
Prudent, deliberate debt is a valid business choice, as long as it's recorded and repaid.
Debt in code that never changes charges no interest. Debt in a module touched every sprint charges it continuously. So prioritise by where change happens.
Combine change frequency with complexity (Adam Tornhill's approach, tools like CodeScene):
git log --since=12.months --name-only --pretty=format: -- '*.cs' \
| sort | uniq -c | sort -rn | head -20
Cross that list with cyclomatic complexity (Visual Studio code metrics or SonarQube). High churn plus high complexity is the debt that hurts.
Cost of delay (Don Reinertsen) is the value lost per unit of time by not doing something. Weighted Shortest Job First ranks work by cost of delay divided by duration, which lets debt and features compete on one scale.
| Metric | Source |
|---|---|
| Lead time for changes in an area | Azure DevOps / Jira cycle time by component |
| Change-failure rate | Deployments vs rollbacks or hotfixes (DORA) |
| Incidents linked to a module | Incident tracker, post-incident reviews |
| On-call hours | PagerDuty / Opsgenie |
| Support status | Microsoft lifecycle (e.g. .NET 8 LTS support ends November 2026) |
Review monthly with the tech lead and product owner. Close items that no longer charge interest (the module was deleted). Merge duplicates. Link items to ADR consequences that accepted the debt in the first place.
git log hotspot command on your repo and pick the top three files.A typical register item, before and after: pricing rules duplicated in two services, then extracted into one tested policy.
// Before: the same discount rule copied into two services. Every change must be made twice;
// in Q3 they drifted and quotes disagreed with invoices.
namespace Orders.Application;
public sealed class QuoteService
{
public decimal Price(Order order) =>
order.Lines.Sum(l => l.Net) * (order.Customer.IsWholesale ? 0.85m : 1.0m);
}
public sealed class InvoiceService
{
public decimal Price(Order order) =>
order.Lines.Sum(l => l.Net) * (order.Customer.IsWholesale ? 0.88m : 1.0m); // drifted
}
// After: one policy, one test suite, injected where needed.
namespace Orders.Application.Pricing;
public interface IPricingPolicy
{
decimal Price(Order order);
}
public sealed class PricingPolicy : IPricingPolicy
{
private const decimal WholesaleRate = 0.85m;
public decimal Price(Order order)
{
var net = order.Lines.Sum(l => l.Net);
return order.Customer.IsWholesale ? net * WholesaleRate : net;
}
}
public sealed class QuoteService(IPricingPolicy pricing)
{
public decimal Price(Order order) => pricing.Price(order);
}
public sealed class InvoiceService(IPricingPolicy pricing)
{
public decimal Price(Order order) => pricing.Price(order);
}
// Program.cs
// builder.Services.AddSingleton<IPricingPolicy, PricingPolicy>();
The register entry as a work item:
{
"type": "Tech Debt",
"title": "Pricing rules duplicated in QuoteService and InvoiceService",
"interest": "+3 dev-days per pricing change; 2 incidents in Q3",
"effortDays": 8,
"risk": "High - customers charged a different price from the quote",
"owner": "[name]"
}
Technical debt is a portfolio decision, not a cleanliness score. The senior skill is choosing which debt to carry deliberately, recording it (often as the consequences of an ADR), and paying it down where interest is highest. Senior engineers also protect the capacity slice: when it's quietly reallocated to features for three sprints in a row, that's a conversation with the product owner, backed by the numbers.
Two things make the register work long term. First, stakeholders own it with engineering: the product owner attends the monthly review, sees the interest figures next to feature value, and helps rank items, so debt work isn't something engineers sneak in. Continuous delivery helps here, because small, frequent, flagged releases let debt be paid in slices alongside features instead of in risky big-bang projects, and DORA metrics show whether it worked. Second, seniors coach the team: I show juniors how to write an entry with evidence instead of a complaint, how to spot a hotspot in git history, and when the Boy Scout rule is enough, so debt identification doesn't depend on one person.
| Option | When it fits | Cost | When not to |
|---|---|---|---|
| Carry the debt | Low interest, code rarely changes | Nothing now | It's in a hotspot or a security risk |
| Fix as you go | Small, local debt | Slightly larger PRs | Large structural debt |
| Capacity slice | Steady stream of medium debt | 15โ20% of sprint | Team is in a hard launch window |
| Funded project | Framework upgrade, out-of-support runtime | Weeks; needs a case | Benefits can't be measured |
Measure it: lead time and incident counts per area before and after, so the next business case comes with a track record.
Technical debt is the future cost of a shortcut, and the interest is the extra effort or risk it adds every time we work near it. I make it visible in a debt register with each item's impact, how often we pay its interest (change frequency, incidents, delays) and a rough cost to fix. I prioritise by interest, not by how ugly the code is: debt in a hotspot that slows every feature beats a messy module nobody touches. I get time by explaining it in business terms (lead time, incident risk, cost), by reserving a steady share of capacity, and by pairing debt fixes with features that touch the same area.
I'd read it for risk first, style last. Ranked:
SaveChangesAsync (customer told they're signed up when the save can fail), and personal information (email, date of birth) logged and exported unmasked, a Privacy Act issue.string email, Guid IDs), feature envy on Customer, dead code.My rule: block on anything the PR introduces or touches that is a correctness or privacy risk; suggest small fixes in lines the PR changes; log as debt pre-existing structural smells with a ticket that says what they cost. The trade-off is merging safe code today without turning one PR into a rewrite.
How to tell it (STAR)
**S:** At [company], our tax-rule module was behind most invoicing incidents and every rule change took about a week. **T:** I needed the product owner to fund fixing it, competing with roadmap features. **A:** I gathered evidence: incidents linked to the module, git churn and complexity, and cycle time for tax work. I put it in the debt register with interest in days and incidents, and pitched it as faster BAS-season changes and fewer billing errors. We did it in small, flagged PRs and compared outputs in production before switching. **R:** Incidents in that area dropped from [number] to [number] a quarter, and rule changes went from about a week to [number] days.
Last updated 23 Nov 2026.