Code analysis based on Clean Code
The Sonar Solution is aimed at identifying any issue in your code that prevents it from being Clean Code.
Each Clean Code attribute is evaluated, for a given language, based on a series of rules:
- Each rule:
- Is associated with the Clean Code attribute it evaluates.
- Is associated with the software quality(ies) to which this Clean Code attribute contributes.
An impact level (high, medium, or low) is assigned to each associated software quality. It determines how much that software quality is impacted when the rule is broken.
- When a rule is broken, an issue is raised. The issue affects one or more software qualities with a varying impact level as inherited from the rule.
The figure below shows the Clean-Code-based analysis principles of the Sonar solution.