The goal of the Review feature is to be able to assign a violation to a user and to start a discussion thread which should finally lead to the correction of the violation. A review has only two status which are Open or Closed. Sonar automatically takes care to close a review as soon as its underlying violation disappears.
Create a review
To create a review, the user must be first logged in and has the Users role on the project containing the violation to review. Then, directly in the resource viewer, a new "Review" link appears to start creating a new review when placing the mouse over the violation title :
A comment must be filled before being able to really create the review by clicking on the "Add comment" button :
By default, a review is assigned to the creator of the review. If the check box is unselected, the review will be open but not assigned to any user.
Once a review has been created on a violation, every Sonar user can see the review below the violation :
Only the last comment on a review can be edited by the creator of this last comment.
Search for a review
The Reviews page allows to search for any review with optional filter parameters like the project, the author of the review, the severity of the violations, ... :
Be default, all reviews assigned to the current user are displayed.
Clicking on the title of a review allows to display the detail of this review :