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.
6 lines
415 B
6 lines
415 B
**Duplicated Code**
|
|
|
|
* Force: Refactoring may be considered if a common structure is recongized among related methods.
|
|
|
|
* Solution: It may be possible to generalize smaller methods to allow them to work as one. However, you must be careful to not over generalize a method and allow it to have more power than nessecary. A good metric to measure by is that a method should have between 6-8 meaningful lines of code.
|