In this demonstration, we present an Eclipse plug-in that automatically identifies type-checking bad smells in Java source code, and resolves them by applying the "replace conditional with polymorphism" or "replace type code with state/strategy " refactorings. To the best of our knowledge there is a lack of tools that identify type-checking bad smells. Moreover, none of the state-of-the-art IDEs support the refactorings that resolve such kind of bad smells.
['Nikolaos Tsantalis', 'Theodoros Chaikalis', 'Alexander Chatzigeorgiou']
JDeodorant: Identification and Removal of Type-Checking Bad Smells