Unsupported
Thumb_extension

Code Review in Polarion

 Code Review Process in Two Simple Steps


Description

share this page via facebook share this page via LinkedIn share this page via Twitter share this page via Google+ share this page via email More sharing services

Code reviews help spread knowledge, catch bugs in advance, and reduce technical debt. Together with test-driven development or pair programming, they can greatly increase code quality and maintainability. We are in no way sorry for implementing it in Polarion and use it while developing Polarion.

So now that you are convinced that code review is what you must have, the question is: how to approach it? There are various tools for various version control systems, but you have Polarion and would like something integrated. Or you want to start quickly and maybe transition to something more robust later. We will show you how to do code review in just two simple steps based on our experiences.

In Step 1 we will present the task-centric code review process suitable for all. In case you would like to have more fine-grained reviews then there is an option of commit-centric process extension described in Step 2.

Download the extension to read the rest. See source code at https://github.com/Polarion/com.polarion.alm.extensions.codereview

What's New in Version 1.0.37

Updated July 2017

New features:

  • form extension is read-only unless user has role defined by configuration property reviewerRole
  • past reviewers no longer have to have the reviewer role assigned forever as their names can be defined by configuration property pastReviewers so that they are still known to the checker job
  • reviewers cannot review their own changes
  • checker job can be configured with job property permittedItemsQuery so that it will report items with linked revisions not matched by that query
  • form extension can be switched to special conflicts prevention mode (if configuration property preventReviewConflicts is set to true) when current reviewer either has to be set in the codeReviewer field or [ Start review ] button has to be pressed first
  • differences are shown for all text files (marked as such in Subversion)
  • context of the current compare is always visible even if compared file does not fit to screen
  • comment can be added while reviewing
  • it is possible to review all revisions and reopen the item with "Review all & reopen" command
  • it is possible to auto-assign reviewers with newly added job codereview.assigner
  • users can no longer select revisions which would not be reviewed anyway (tooltip gives the reason)
  • "Review ..." commands are renamed appropriately if some revisions cannot be reviewed by current user so that it is apparent what is going to happen when invoked
  • allow to specify extra permitted projects for Code Review Checker in addition to the scope of the job itself
  • allow to execute Code Review Assigner job on behalf of different user

 

Fixed issues:

  • form extension crashed with invalid data
  • error logging was improved so that it is easier to find out what is wrong
  • fastTrackPermittedLocationPattern is no longer required if fast track reviews are not used
  • jumping to the file from the list at the top of the compare view will also change the reference position used by Prev and Next buttons
  • error is no longer logged when compare view attempts to show changes in a file which was added and removed at the same revision
  • link to external revision in the Code Review Checker notification email is no longer wrong
  • review action should no longer occasionally lead to blank page
  • fixed problem with Reopen not available when some revisions cannot be reviewed by current user

Information

Vendor Siemens PLM
Published Version 1.0.37 - July 2017
Categories
Products
Price Free
249 Downloads
Unsupported Extension This extension is not supported by Siemens PLM.
Requirements Polarion® ALM™ 2016 or newer, Java 8 or newer