Google+

Taxonomy of Code Smells

Leave a comment

26 November 2004 by Ian Davis

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

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

Follow

Get every new post delivered to your Inbox.

Join 1,721 other followers

%d bloggers like this: