Quando fazemos um Refactoring estamos busando códigos dublicados ou execesso de logica que não objetivam nada no Codigo.Abaixo uma ferramenta que estou querendo melhor entender , dessa tradicionais que estamos usando:JUnit, etc… Alguem já usou esse software ???
Structural Analysis for Java
A technology that analyzes structural dependencies of Java applications, measures stability, detects structural “anti-patterns,” and more.
:arrow: http://www.alphaworks.ibm.com/tech/sa4j
Refectore explicação
Refactoring is a technique for restructuring an existing code, altering its internal structure without changing its external behavior. Its heart is a series of small behavior preserving transformations. Each transformation (called a ‘refactoring’) does little, but a sequence of transformations can produce a significant restructuring. Since each refactoring is small, it’s less likely to go wrong. The system is also kept fully working after each small refactoring, reducing the chances that a system can get seriously broken during the restructuring