Menu

detecting feature envy?

2002-09-02
2014-08-19
  • Danny Ayers

    Danny Ayers - 2002-09-02

    Just a thought - I reckon it should be relatively straightforward to spot "feature envy", one of the "bad smells in code" mentioned in Fowler's Refactoring book. Count the number of references to other classes within a method (especially where casts are involved, I suppose), and if this is high, suggest moving the method.

     
  • Mario Hozano

    Mario Hozano - 2014-08-19

    News?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.