It's all about the answers!

Ask a question

Code Review


Liora Milbaum (513289118) | asked Jul 12 '09, 8:15 a.m.
Is there a code review solution which integrated with RTC?

3 answers



permanent link
Jose Miguel Ordax Cassa (2.4k4126100) | answered Jul 12 '09, 12:41 p.m.
liora wrote:
Is there a code review solution which integrated with RTC?


Currently you can integrate for example RSAR 7.0 (Rational Software
Analyzer) using RTC Build System and ANT scripts:

http://www-01.ibm.com/software/awdtools/swanalyzer/enterprise/index.html
http://publib.boulder.ibm.com/infocenter/rsarhelp/v7r0m0/index.jsp?topic=/com.ibm.xtools.analysis.rsar.common.doc/topics/c_run_cl_analysis_scans_top.html

Hope it helps,

Chemi.

permanent link
Jose Miguel Ordax Cassa (2.4k4126100) | answered Jul 14 '09, 3:56 a.m.
Chemi wrote:
liora wrote:
Is there a code review solution which integrated with RTC?

It seems the new RSAR 7.1 has built-in integration with RTC:
http://www.ibm.com/developerworks/rational/library/09/whatsnewrationalsoftwareanalyzer7-1/index.html

Hope this helps,

Chemi.

permanent link
David Lafreniere (4.8k7) | answered Jan 29 '20, 12:57 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

In Rational Team Concert 6.0.1 we have introduced a new Code Review feature. Code review is integrated with RTC work items and Jazz SCM to provide developers with a seamless, low overhead work flow that is simple to use and is a natural extension to their daily activities. There isn’t a separate server installation, additional licensing fees or other costs associated with using RTC code review. Enabling code review for your projects is simple and takes only a few minutes to set up.

Reviewers can annotate specific lines of code, which helps developers quickly see and fix issues. Issues (or findings) can be marked as must-fix and the reviewer can accept or reject the changes. When preconditions are enabled, a code review cannot be approved if must-fix issues have not been resolved to everyone’s satisfaction.

Developers don’t have to worry about the intricacies of issue management because this is handled for them. Each issue has its own discussion thread and events are logged as the review progresses. Whenever an issue is updated, a new issue raised, or new code changes are added to the review, the events are logged so that you have a complete history of the review life-cycle. Because code reviews are iterative and can include code changes during the review cycle, any annotations on lines of code (issue markers) are automatically re-positioned and visual cues are provided to the reviewer so that they can easily see what has changed since they last looked at the code or since they last reviewed issues.

Team collaboration is accelerated through real-time notification of pending reviews, issues, and fixes. This is becoming more and more important as the number of globally distributed development teams increase. In fact, with the RTC SCM development team spread across three different time zones, it is common for them to have code changes that were written in one time zone reviewed by team members in another time zone.

Code review enables auditing for compliance. Issue status at delivery, approval information, the event logs, and other information captured during the review can be used for a variety of metrics and reporting requirements.

Since the introduction of code review in 6.0.1 more features have been added. Reviewers can inspect intermediate before and after file states, which is useful in advanced SCM workflows encountered when multiple developers are working on a common code base. We have added the ability to filter issues on the navigator pane on the left, add tags to issues, and various usability enhancements have been added. In 7.0 many workflow enhancements were added such as tracking reviewers within the code review (versus on the work item), adding code review specific states for each reviewer or the overall code review, and reviewers can now indicate when they have started or completed their review (to aid in metrics gathering and a better 'hand shake' between the author and reviewer).

The ability to extract work items is useful when an issue needs to be addressed but shouldn’t prevent delivery of the current code changes. The extracted work item captures the required work and will have its own code review cycle.

A SCM CLI command is also available to export code review data such as issues raised, issue activity, reviewer information, code delivery status, and other metrics in JSON or XML format. This enables customers to use their existing reporting tools or custom scripts for auditability and other reporting requirements

Additional Information:
Article: Rational Team Concert Code Review
Video: Introduction to Code Review (Part 1)
Video: Configuring Code Review (Part 2)
Video: Performing a Code Review (Part 3)
Knowledge Center: Working With the Code Review Tool

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.