Example: duplicated policy and coupled architecture
Illustrative code debt: discount rules are copied into checkout, invoicing, and refunds. A new tier requires coordinated changes and can produce inconsistent totals. First map intentional differences, then extract a shared policy boundary with representative tests. Simply deleting duplication without domain review could change valid behavior.
Illustrative architecture debt: a reporting change requires deploying the payment service because both depend on an internal data structure. The consequence is unnecessary coordination. A stable reporting contract may reduce that coupling, but the team should verify actual consumers before introducing a new interface or separate service.
Example: weak tests and fragile delivery
Illustrative test debt: important order rules are checked only through slow end-to-end tests with unstable external dependencies. Engineers struggle to distinguish regressions from environment failures. Add focused checks around the policy boundary and realistic integration fixtures; do not merely increase assertion count without improving the evidence.
Illustrative delivery debt: production configuration depends on an undocumented local file. Releases require a particular engineer to prepare it manually. Establish versioned configuration references, secret handling, and a reproducible release procedure. Verify the process in a representative environment instead of treating a written checklist alone as a completed repair.
Example: missing knowledge with recurring impact
Illustrative documentation debt: no one can explain why a batch importer retries some failed records and permanently skips others. Before changing it, recover the business intent and characterize current behavior. Record the decision near the relevant code or runbook so the next maintainer does not repeat the investigation.
Across these examples, prioritize by observed impact and expected future work. Record a recent incident or change that exposed the problem, the likely remedy, and the remaining uncertainty. An inventory of unattractive code is less useful than a small set of evidenced constraints with owners and acceptance conditions.
Working sheet
| Debt source | Recurring consequence | Bounded next step |
|---|---|---|
| Duplicated discount logic | Coordinated edits and inconsistent totals | Map differences and consolidate policy |
| Shared internal reporting structure | Unnecessary cross-service releases | Define a stable reporting contract |
| Unstable rule tests | Slow and ambiguous verification | Add focused deterministic checks |
| Undocumented release file | Dependence on one maintainer | Rehearse a reproducible release |
| Unknown retry decisions | Repeated investigation and risky changes | Recover intent and characterize behavior |
Ecommerce example
Illustrative debt: checkout and the subscription renewal worker calculate tax differently. Record affected countries, rounding rules and a shared set of input-output examples before extracting the calculation.
Measure the outcome with those same examples and a rollback rehearsal. This example does not represent a Getzilla customer or a claimed financial result.
Questions about technical debt examples and their practical consequences
Are these real Getzilla cases?
No. They are clearly labeled illustrative scenarios intended to support diagnosis and prioritization.
Is every duplicated line technical debt?
No. Assess whether duplication represents one shared rule and causes meaningful change cost. Similar-looking code can encode different responsibilities.
How should I use the working sheet?
Download the CSV and replace the sample rows with evidence from your repository. Record a clear acceptance check and an owner for each item. Keep unresolved assumptions visible rather than treating the example as a completed assessment.
Sources and further reading
Examples are illustrative. They are not customer results, security guarantees, or a substitute for checking the documentation for your installed version.
