Can you measure this aspect of code quality automatically? Perhaps it's not that much about code redundancy and how much does the execution jump around; it's more about making changes on multiple places to implement a single "thing" (like a bug fix). This info can be inferred from the source control system.