Skip to main content

Targeted Refactoring Repair Exercises

The required path is P01–P20 and five labs. Use additional reading only for a named weak competency; it is included in the selective reading allocation unless you choose full-book study.

GapLocal Refactoring topicRepair evidence
Tests treated as proofSelf-testing code, chunk 032Boundary and mutation witness
Extraction changes effectsExtract Function, chunk 038Ordered failure trace
Public rename breaks consumersChange Function Declaration, chunk 043Compatible alias and retirement criteria
Eager parsing changes errorsSplit Phase, chunk 048Preserved lookup-before-conversion
Conditional helper evaluates too muchConsolidate Conditional, chunk 067Lazy call trace with a failing untaken branch

Use the Refactoring book index and reading guide. Return to a fresh practical case after reading.