This smell arises when a DESIGN segment uses conditional logic to explicitly manage variation in behavior where a hierarchy could have been created and used to encapsulate those variations.
Related smells: Switch Statement
The following set of tools detects this smell: Designite(for C#) DesigniteJava(for Java)
G. Suryanarayana, G. Samarthyam, T. Sharma, “Refactoring for Software Design Smells: Managing Technical Debt”. Morgan Kaufmann, 2014.
All rights reserved (c) Tushar Sharma 2017-23.