Publication | Closed Access
JDeodorant: Identification and Removal of Type-Checking Bad Smells
193
Citations
0
References
2008
Year
Unknown Venue
EngineeringVerificationInformation ForensicsSource Code AnalysisSoftware EngineeringSoftware AnalysisFormal VerificationJava Source CodeData MiningStatic CheckingSensometricsType-checking Bad SmellsEclipse Plug-inComputer ScienceType SystemStatic Program AnalysisElectronic NoseSoftware DesignType CodeCode RefactoringProgram AnalysisSoftware TestingFormal Methods
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.