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

About Ian Davis

British entrepreneur and CEO of Kasabi. Primary interests are open data, the semantic web and decentralization.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s