This project is read-only.

The most complete solution for TFS Code Reviews

The most complete solution for Team System Code Reviews: a specific work item type and a Visual Studio add-in for a completely in IDE code review experience. TeamReview exploits the advantages of Team System and VSX to reduce waste and surface new business value from code reviews MVP.jpg

Poster created by Willy-Peter Schaub, VSTS MVP and hosted by the Developer Readiness Program community server and the South Africa Architect community server

TeamReview Advantages

  • No/less code review meetings necessary
  • Same place/Same time obstacles are overcome
  • Makes code review analytics/forensics possible
  • Easier to split up code reviews both over time and to many people
  • Accountability - can easily determine if any review feedback was submitted and if that feedback was implemented
  • Ability to create predefined in-IDE code walk-throughs by any developer on your project without requiring your attendance
  • In VS 2010/ 2012 You need Premium or Ultimate license to use out of box Code Review feature. This tool does not have any such dependency.


TeamReview by Example

Jane Coder submits a request to review code by entering a new Task and assigning it to Joe CodeReviewer

Code Review Request.jpg

Then in the IDE Joe CodeReviewer right clicks and uses the TeamReview menu


In the New Code Review Response form Joe selects a Team Query to find Jane's request and then fills out the information and assigns the new Code Review Response to Jane. Note here that the Title is pre-filled by TeamReview


Joe finds another contentious point and uses TeamReview again. This time TeamReview pre-populates the "Query From", "Associate With", and "Assign To" values using the information from the last time.


When Joe is done submitting feedback he re-assigns the original review request from Jane back to her (not shown). Now the review is over and the original code author, Jane, wants to see what feedback was given. She uses the "Code Review Replay" option of TeamReview


The Code Review Replay window comes up and Jane chooses a Team Query to identify her original review request.


Jane starts replaying Joe's feedback by selecting each row in the grid one-by-one, and as she does TeamReview re-opens and re-highlights the section of code Joe originally noted as having an issue.


Jane fixes the code from Joe's feedback and then wants to close the Code Review Response, so she double-clicks in the Code Review Replay Window to open the Work Item.


Of course all of this works because TFS is being used in the background. Here's what Jane's original request looks like with the linked Code Review Response items.


And here is what the Code Details tab of one of those items, Joe's feedback, looks like - with all the code heuristic details available for querying and reporting by TFS or SQL Reporting Services.



Last edited Jun 13, 2014 at 11:36 AM by hmahajan, version 41