code smell (plural code smells)
Analogous to a bad smell indicating e.g. rotten food. Apparently coined by Kent Beck, American software engineer, in the late 1990s. Usage of the term increased after it was featured in the book Refactoring: Improving the Design of Existing Code.