This table is incomplete. It only lists some anti-patterns and some refactoring methods. A more complete table would be a valuable tool to programmers, who could use it to quickly decide how to remedy a problem at hand.
Anti-Patterns
Refactoring |
|||||||||
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
* |
|
|
|
|
* |
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
* |
|
|
|
|
|
|
|
* |
|
|
* |
|
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
* |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
|
|
|
* |
|
* |
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
|
|
|
|