Code Smell Code smell, also known as bad smell, in computer programming code, refers to any symptom in the source code of a program that possibly indicates a deeper problem. According to Martin Fowler, 'a code smell is a surface indication that usually corresponds to a deeper problem in the system'.