Repetitive code indicates poor design
Research Finding:
Copy and Paste is a design error.
IfSQ Defect Indicators based on this finding:
-
SPM-3—Copy/Paste Programming
An identical or largely similar section of code appears in two or more places in a program or set of programs. Copy and Paste is considered by many industry experts to be a design error.
Source:

- Steve McConnell
- Recorded 1998 in IEEE Software, 15, no. 4, July/August
- Pages 94-95