JDeodorant: Identification and Removal of Type-Checking Bad Smells

  • Authors:
  • Nikolaos Tsantalis;Theodoros Chaikalis;Alexander Chatzigeorgiou

  • Affiliations:
  • Department of Applied Informatics, University of Macedonia, 54006 Thessaloniki, Greece, nikos@java.uom.gr;Department of Applied Informatics, University of Macedonia, 54006 Thessaloniki, Greece, chaikalis@java.uom.gr;Department of Applied Informatics, University of Macedonia, 54006 Thessaloniki, Greece, achat@uom.gr

  • Venue:
  • CSMR '08 Proceedings of the 2008 12th European Conference on Software Maintenance and Reengineering
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.