Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Extract a list of reviewed (or unreviewed) files

John McComb
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 5, 2012

Is it possible to get a list of the files that have been reviewed? We're trying to figure out how to determine our code review coverage. We can get a list of changed files via svn. We'd like to compare that to the files that are contained in one or more reviews.

2 answers

1 vote
John Werner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 2, 2012

I use a EyeQL query to do this. The query essentially checks for all revisions that are not the HEAD revision on a BRANCH that are in the listed set of reviews (REVIEWID_1 & REVIEWID_2).

select revisions from dir "/BRANCH" where not (in review REVIEWID_1 or in review REVIEWID_2) and not is deleted and is head on BRANCH order by date desc  group by changeset return path, revision, author, date, reviews

To get to where you can enter the EyeQL, view your repository under Source. Then select "Search" from the right pane header. Finally select "Switch to EyeQL Search" on the bottom of the left pane.

0 votes
SimonS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 5, 2012

Hi John,

You can check out the Fisheye Commit Graph, which will show you which changesets have been reviewed, which are currently under review, and which are not reviewed at all:

https://confluence.atlassian.com/display/FISHEYE/Viewing+the+commit+graph+for+a+repository

I don't think the list is extractable per se, and it won't show you "file" review status, but it will tell you about changesets.

-Simon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events