2008 · 196 citations · 0 references
ComputingComputer ScienceCompilersProgramming LanguagesSoftware EngineeringSoftware RefactoringType CheckingType SystemsAutomated Bug FindingCode Smell DetectionCode SmellsRefactoring DetectionStatic Type CheckingType Analysis
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.