List a few of the “code smells” Fowler provides as indicators you should refactor your code.


List a few of the “code smells” Fowler provides as indicators you should refactor your code.


Answer:
1. duplicated code;
2. long method;
3. large class;
4. switch statements;
5. feature envy;
6. inappropriate intimacy.