Duplicated Code
When you have the same code in more than one place, perhaps with small variations. Every time you want to make a change in the duplicated section of code, you will need to find all the copies and decide whether to update them too. This can lead to shotgun surgery.
Sources
- This smell is included Martin Fowler's book "Refactoring", 2nd Edition
Back to All Code Smells