The gills of fishes are said to be analogous to the lungs in terrestrial animals.
This would be analogous to what distinguishes a square from a circle.
If restitution were awarded, the award of lost profits would be analogous to cases of temporary dispossession.
A natural way to think of it would be analogous to the saffir-simpson hurricane scale that is based on maximum sustained wind speed.
This approach might be analogous to establishing a stronghold within the code, from which you can launch small sorties of refactoring to divide and conquer the maintainability problems.
But leaving it until the last minute would be analogous to building up an enormous inventory and then attempting to burn the midnight oil to get it through the final stage.