“Any symptom in the source code of a computer program that indicates something may by wrong.” (Wikipedia) Common code smells are ofen used to diagnose the quality of legacy code. Code smells generally indicate that the code should be refactored or the overall design should be reexamined.