CodeAdvisorΒΆ

The CodeAdvisor tab helps one finding out what should be refactored next. For this, refactoring subjects (source code elements, clones and coding issues) are given a refactoring score which indicates how urgent it is to refactor them. This score is calculated by a sophisticated algorithm, taking into account the maintainability score, the frequency modifications, professional and operational risks amongst others.

The CodeAdvisor panel in the Advices section shows the list of refactoring subjects ordered by their refactoring score. For each refactoring subject, one can see its name, type, the advice related and the developer who seems to have the most knowledge about that refactoring subject.

_images/codeadvisor.png

One can filter the refactoring subjects by their refactoring score, type, advice, name, assessment and assignee. In the Assessment column it is possible to specify whether the provided advice is useful. Clicking on the row of a refactoring subject will take one to the Source Code View section containing the source code related. The reasons why a given refactoring is suggested to be executed is presented when one clicks on the arrow at the beginning of the row related to a refactoring subject. The links in the second column opens up the Source code element details view where the related metrics, warnings and source code can further be investigated.

Back: Developers Next: History