You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
938 B

# Code Smell Patterns
**Code Smells** are often signs that refactoring could be needed. That is not always the case, but these "smells" should be looked at further to determine if there is a need for refactoring.
[Duplicated Code](./Duplicated_Code.md)
[Excessive Conditionals](./Excessive_Conditionals.md)
[Reocurring Parameter lists](./Reocurring_Parameter_Lists.md)
[Big Objects](./Big_Objects.md)
[Big Methods](./Big_Methods.md)
[Magic Numbers](./Magic_Numbers.md)
**Feature Envy**
* Force: Refactoring may be possible when it is noticed that a certian object seems to have significantly more features than other objects it is interacting with.
* Solution: It may be possible to had work off to some of these smaller objects. If the original object is reaching out to grab things that are much easier access and handled by the secondary object, than a consideration should be made to give that work to the secondary object.