Taccurev-logo.jpghis is a guest blog post submitted by Oleg Vistev. Oleg manages the Applications Group at AccuRev, a leader in scaling Agile across the enterprise.  AccuRev, an Atlassian partner, offers AccuRev Software Configuration Management and AgileCycle, an Application Lifecycle Management suite.

@font-face {
font-family: “Arial”;
}@font-face {
font-family: “Calibri”;
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 10pt; line-height: 115%; font-size: 11pt; font-family: “Times New Roman”; }a:link, span.MsoHyperlink { color: blue; text-decoration: underline; }a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; }span.apple-style-span { font-family: “Times New Roman”; }div.Section1 { page: Section1; }

@font-face {
font-family: “Arial”;
}@font-face {
font-family: “Calibri”;
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 10pt; line-height: 115%; font-size: 11pt; font-family: “Times New Roman”; }a:link, span.MsoHyperlink { color: blue; text-decoration: underline; }a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; }span.apple-style-span { font-family: “Times New Roman”; }div.Section1 { page: Section1; }
@font-face {
font-family: “Calibri”;
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 10pt; line-height: 115%; font-size: 11pt; font-family: “Times New Roman”; }a:link, span.MsoHyperlink { color: blue; text-decoration: underline; }a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; }div.Section1 { page: Section1; }

The practice of code review has received increased attention over the past few years; attention it absolutely deserves. Interest in this key ingredient for delivering quality software is growing. This can be attributed to the fact that code review is among Agile’s Best Practices. Though this process aligns perfectly with the principles described in the Agile Manifesto, to a company not working in a hyper-Agile environment, or to a company that ships one release per year, code inspection is still a necessary part of the development process. The average rate of defects discovered during code inspection can reach 60 percent or higher, and the defect discovery rate for different forms of testing is around 30 percent.

Multiple factors play a part in the organization of code review.  For example, one organization may use pair-programming, perform over-the-shoulder reviews or send changes via emails. At AccuRev, we believe the best solution is to leverage existing tools in the market.  No matter what your current process is, it must be backed up by a strong SCM system that will track user changes and supply sources for all reviews.

AccuRev and Crucible

@font-face {
font-family: “Arial”;
}@font-face {
font-family: “Calibri”;
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 10pt; line-height: 115%; font-size: 11pt; font-family: “Times New Roman”; }a:link, span.MsoHyperlink { color: blue; text-decoration: underline; }a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; }span.apple-style-span { font-family: “Times New Roman”; }div.Section1 { page: Section1; }

@font-face {
font-family: “Arial”;
}@font-face {
font-family: “Calibri”;
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 10pt; line-height: 115%; font-size: 11pt; font-family: “Times New Roman”; }a:link, span.MsoHyperlink { color: blue; text-decoration: underline; }a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; }span.apple-style-span { font-family: “Times New Roman”; }div.Section1 { page: Section1; }

It is important for the SCM system to have a very tight integration with the tool when performing tool-assisted code reviews.  In October, AccuRev released AccuBridge™ for Atlassian Crucible, a plug-in that gives AccuRev users direct access to Crucible’s code review when working in AccuRev. With this integration, users can launch a Crucible code review based on specific files and versions, all from within the AccuRev Web user interface.To run a code review with AccuBridge™ for Crucible, just select an entity (transaction, issue or file) to review and click on the Create Review button.

 

create-review-accurev.png

@font-face {
font-family: “Calibri”;
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 10pt; line-height: 115%; font-size: 11pt; font-family: “Times New Roman”; }div.Section1 { page: Section1; }

@font-face {
font-family: “Calibri”;
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 10pt; line-height: 115%; font-size: 11pt; font-family: “Times New Roman”; }div.Section1 { page: Section1; } @font-face {
font-family: “Calibri”;
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 10pt; line-height: 115%; font-size: 11pt; font-family: “Times New Roman”; }div.Section1 { page: Section1; }

AccuRev’s Web user interface gathers all file versions involved in the selected entity and sends the data to Crucible. AccuBridge™ for Crucible then automatically opens Crucible, where users can complete the pre-review process by adding reviewers and entering the remaining information. The Create Review button is available in multiple places in the AccuRev user interface (e.g., History, Issue Queries), providing access to Crucible from different places in the development process. File versions can be added to any of the existing code reviews by using Add to Review.

 

add-review-accurev.png

@font-face {
font-family: “Calibri”;
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 10pt; line-height: 115%; font-size: 11pt; font-family: “Times New Roman”; }div.Section1 { page: Section1; }

@font-face {
font-family: “Calibri”;
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 10pt; line-height: 115%; font-size: 11pt; font-family: “Times New Roman”; }div.Section1 { page: Section1; }
@font-face {
font-family: “Calibri”;
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 10pt; line-height: 115%; font-size: 11pt; font-family: “Times New Roman”; }div.Section1 { page: Section1; }

This integration between AccuRev’s SCM system and Crucible’s Code Review tool is both seamless and easy to use. By using this solution for the code review process, developers greatly improve the overall quality of any product in development, regardless of their development environment.

Try it

Are you using AccRev for your SCM Management? If so, check out the AccuBridge™ for Crucible and get started with code review.

Fresh ideas, announcements, and inspiration for your team, delivered weekly.

Subscribe now