Taxonomy of Code Smells

I found this taxonomy of code smells by Mika Mäntylä very interesting. The smells are mostly straight out of Refactoring but the groupings are new:

  • The Bloaters, things that have grown so large that they cannot be effectively handled
  • The Object-Orientation Abuser, cases where the solution does not fully exploit the possibilities of object-oriented design.
    • Switch Statements
    • Temporary Field
    • Refused Bequest
    • Alternative Classes with Different Interfaces
  • The Change Preventers, things that hinder changing or further developing the software
  • The Dispensables, things that should be removed from source code
  • The Couplers, cases that increase coupling

Permalink: http://blog.iandavis.com/2004/11/taxonomy-of-code-smells/

Other posts tagged as object-oriented

Earlier Posts