Skip to content
GabineteTools for thinking

No. 2047Workflow and delivery

Technical Debt Management

Kruchten and others · 1992

Wooden route with red patches of paper and brass glasses with stones; the overflowing glass marks the patch that is replaced by wood.

The table / Model card · No. 2047 · Workflow and delivery

Technical Debt Management

Shortcuts are loans: track them, know the interest, and repay the expensive ones first.

Also known as Tix Tax (Ticket Tax) · Weighted Craftsmanship Debt · Weighted Maintenance Sprint Allocation · Weighted Product Debt · Weighted Technical Debt Quadrant

The essentials

What it is

What it solves

Why does a codebase get slower and riskier to change over time, and how do you decide which shortcuts to fix when feature work always seems more urgent?

When to use it

Use it when delivery speed is falling, when incidents cluster in certain modules, before a major feature touches old code, when negotiating engineering time with product owners, and when deliberately taking a shortcut to hit a date.

Where it comes from

Ward Cunningham introduced the debt metaphor in 'The WyCash Portfolio Management System', an OOPSLA 1992 experience report, to explain to business colleagues why financial software needed refactoring. Martin Fowler's 2009 bliki post added the deliberate/inadvertent and prudent/reckless quadrant. Philippe Kruchten, Robert Nord and Ipek Ozkaya turned it into a research and management field, including a 2012 IEEE Software article and their 2019 book Managing Technical Debt.

Ipek Ozkaya, Martin Fowler, Philippe Kruchten, Robert Nord and Ward Cunningham · 1992

How it works

The metaphor separates two costs. The principal is the effort to fix a shortcut; the interest is the extra effort every future change pays because the shortcut is there. Debt is worth repaying when the interest, which depends on how often that code changes, exceeds the principal. Fowler's quadrant helps decide the response: prudent, deliberate debt is a valid business choice with a repayment plan; reckless or inadvertent debt points to skills or process problems. Making debt visible in the same backlog as features lets product and engineering trade it off openly instead of hiding it.

You need

Code and architecture knowledge, change frequency and defect data per module, static analysis results, developer pain points, and the product roadmap.

You get

A debt register or backlog items with estimated principal and interest, a prioritised repayment plan, agreed capacity for repayment, and tracking metrics.

Case

Illustrative case

Brightmill, a fictional online grocery, sees average lead time for checkout changes rise from 4 to 11 days in a year. Engineers log 26 debt items. Two dominate: a duplicated pricing engine (principal 15 days, adding about 3 days to each of roughly 20 checkout changes a year) and an untested promotions module. Product agrees to spend 20% of capacity for two quarters, starting with pricing. After merging the engines, checkout lead time falls to 5 days, and 9 low-interest items in rarely touched code are closed as 'won't fix'.

A fictional company used to explain the model.

Caution

When to avoid it

  • Do not use 'debt' as a label for every disliked piece of code; it then loses meaning.
  • Paying down debt in code that rarely changes, or that will soon be retired, is usually wasted effort.
  • It is not a substitute for basic quality practices that stop reckless debt arising.

Common mistakes

  • Keeping debt in a separate list nobody prioritises.
  • Calling all bad code debt without estimating interest.
  • Scheduling one big rewrite instead of steady repayment.
  • Repaying debt in code that rarely changes.
  • Taking deliberate debt without recording it or a repayment trigger.

Known weaknesses

  • Interest is hard to estimate precisely.
  • The metaphor can be stretched to cover any dislike.
  • Repayment competes with features and is often deferred.
  • Tooling metrics capture code smells better than architectural debt.

How to apply it in 6 steps

How to apply it

Technical Debt Management

6 steps

Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.

View all 6 steps
  1. Make debt visible

    Collect debt items from developers, incidents and static analysis into one register.

  2. Classify each item

    Note type (code, design, architecture, test, documentation) and whether it is deliberate or inadvertent, prudent or reckless.

  3. Estimate principal and interest

    Estimate the cost to fix and the extra cost each future change pays, using change frequency.

  4. Prioritise

    Rank items by interest against principal and by the roadmap areas they block.

  5. Reserve capacity

    Agree a share of capacity or specific slots to repay top items alongside features.

  6. Track and prevent

    Monitor debt metrics and fix the process causes that create reckless or inadvertent debt.

Which decisions it helps with

Decision profile

A phased process to choose between options on processes and operations.

Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.

IIdentity

Type of tool
Phased process
Decision stage
Choose between existing options
What it applies to
Processes and operations
Discipline
Agile and software development
What it produces
A sequence of phases completed in order

IIIResources required

  • TimeWeeks or months
  • PeopleA small group (2 to 8)
  • DataData collected for the purpose
  • ExpertiseWorks best with a facilitator
  • Time horizonA few months
  • ScopeA unit or department
  • FrequencyA regular practice
The team’s own knowledge is enough

IITen axes

The dot shows which end the model favours. A hollow dot means no clear preference.

  • DirectionExecution
  • Top-downBottom-up
  • PeopleProcesses
  • Generate optionsNarrow down options
  • Step-by-step analysisIntuition and experience
  • A strict sequence of stepsA flexible framework
  • Protect what we haveTake a risk
  • Improve what we haveFundamental change
  • Inside the organisationOutside the organisation
  • Understand firstAct now

IVUseful when

  • We don’t have enough time, money or people to do everything
  • Our projects keep running late or going over budget

Applicable traits

  • How it compares optionsCompares costs and benefits
  • CriteriaCompares several criteria at once
  • WeightsGives all criteria equal weight
How was this profile calculated?

An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.

A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.

On the axes, mixed means the model favours neither end.

How it works →

Thinking space

Workflow and delivery

They organize and accelerate day-to-day delivery: Kanban, DevOps, development cycles, automation and work standards.

Membership: 25 % · also “Diagnosing processes” (13 %)

View in the atlas of spaces →

Each point is a model. Distance reflects answers to the decision questions. Light points share this model’s space.

Similar models

Verified sources

Use the arrow keys to move between sources.

Original work

  1. Cunningham, W. (1992). The WyCash portfolio management system. Addendum to the proceedings of OOPSLA '92 (also ACM SIGPLAN OOPS Messenger 4(2), 29-30).Experience report where Cunningham introduced the debt metaphor. Crossref record shows title, Ward Cunningham, OOPS Messenger vol. 4, pp. 29-30, December 1992; a second record lists the OOPSLA '92 addendum.View source: The WyCash portfolio management system (opens in a new tab) ↗

Key development

  1. Fowler, M. (2009). Technical Debt Quadrant. martinfowler.com (bliki).Introduces the prudent/reckless and deliberate/inadvertent distinctions. Page shows title, author Martin Fowler, dated 14 October 2009.View source: Technical Debt Quadrant (opens in a new tab) ↗
  2. Kruchten, P., Nord, R. L. and Ozkaya, I. (2012). Technical Debt: From Metaphor to Theory and Practice. IEEE Software, 29(6), 18-21.Frames technical debt as a research and management topic beyond code. Crossref confirms title, three authors, IEEE Software vol. 29, pp. 18-21, November 2012.View source: Technical Debt: From Metaphor to Theory and Practice (opens in a new tab) ↗

Critique

  1. Schmid, K. (2013). On the limits of the technical debt metaphor: some guidance on going beyond. 2013 4th International Workshop on Managing Technical Debt (MTD), pp. 63-66.Objects that technical-debt research is built on a metaphor which, used beyond its range of applicability, is sidetracking research; the paper sets out the limits of the metaphor and the problems of over-extending it (abstract read via IEEE Xplore; metadata also confirmed in Crossref).View source: On the limits of the technical debt metaphor: some guidance on going beyond (opens in a new tab) ↗

Practical guide

  1. Kruchten, P., Nord, R. and Ozkaya, I. (2019). Managing Technical Debt: Reducing Friction in Software Development. Addison-Wesley Professional (SEI Series in Software Engineering).Book-length guide to identifying and managing debt. Publisher page shows title, authors, published Jun 6, 2019, SEI Series, ISBN-13 978-0-13-564593-2.View source: Managing Technical Debt: Reducing Friction in Software Development (opens in a new tab) ↗

Wikipedia article (opens in a new tab) ↗