Start Free
10.6 | User guide | Issues | Introduction

Issues

On this page

An issue is a problem 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. When a coding rule is broken, an issue is raised. The issue affects one or more software qualities with a varying impact level (called severity) as inherited from the rule.

The following applies:

  • A new issue is automatically assigned to the last committer on the issue line - the author -  if the author can be correlated to a SonarQube user. You can reassign the issue. 
  • The issue context locates the issue in the code. The primary location is where the issue message is displayed. Secondary locations may be shown to help you understand the issue. Paths through the code (execution flows) are shown from the source to the destination (sink) when the issue originated upstream.
  • An issue is assigned a status that changes during its life cycle. In particular:
    • You can accept an issue to fix it later (status: Accepted).
    • With the corresponding authorization, you can set an issue to False positive if you think the analysis is mistaken.
  • You can tag and comment on issues.

Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License