Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Cleaning up stalled code reviews

As the Code Review administrator, you can clean up code reviews that are in your backlog by overriding the review state of the stalled review(s).

Important: In order to override the status of any review, you must be the Projects root admin.
The overall review status is displayed in the revision details beside the revision name. Revisions can have the following statuses:
  • Approved: All invited reviewers have approved the code review
  • Rejected: One or more reviewers rejected the code review
  • Pending: One or more of the reviewers have not set a review state and there are no rejected reviews
When an admin sets the review override on a revision, it will have one of the following statuses:
  • Approved*: The review override was set to approved by an admin
  • Rejected*: The review override was set to rejected by an admin
Any status overridden manually by the admin is indicated by an asterisk. The overall review status does not affect the review statuses set by invited reviewers and they are still able to change their review states.

Cleaning up a single stalled review

You can override the review state of a revision (or clear it altogether) by:
  1. Logging into Code Review as admin, if you haven't already done so.
  2. From your feed, you see the list of revisions. Find the revision you want to override (or clear) and from the drop-down menu, select the status that you want to set the revision to.
  3. The revision details now display the overall state as set by the admin.

Cleaning up multiple stalled reviews using the Code Review Web API

If you need to clean up multiple stalled revisions or would prefer to script the process, you can use the Code Review Web API review_override action. For more information, see the Klocwork Code Review Web API cookbook.