Sonar manual reviews

Similar to Bug Tracking systems, reviews are assigned to users and may have one of four possible statuses:

  • Open: The initial status
  • Resolved: Mark the violation as resolved
  • Reopened: Reopen the violation for review
  • Closed: Automatic as long as the violation has been resolved

Initially the review is in the Open status. When code changes resolve, the violation referenced by the review is marked as resolved and closed automatically. If the same violation takes place again, Sonar reopens the review again.

If you do not intend to resolve the violation or you believe it does not qualify as a violation, you can resolve it by flagging it as False-Positive.

Assigning reviews

First of all, drill down to the Java class level and open the ...

Get Sonar Code Quality Testing Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.