Code review overview

Automated source code review is a method of analyzing code against a set of predefined rules to ensure that the source adheres to guidelines and standards that are part of any efficient quality control strategy.

IBM® Rational® Test RealTime provides an automated code review tool, which reports adherence to guidelines for your C source code. Among other guidelines, the code review tool implements rules from the MISRA-C:2004 standard, Guidelines for the use of the C language in critical systems.

Code review is part of the runtime analysis tools and can be engaged during a test run or in the project configuration settings.

After the run, the code review report lists the following elements:
  • The Outline window displays a list of rules that were not compliant for each source file and function. You can use the elements in this view to navigate through the report.
  • A summary provides information about the general configuration, the date and the number of analyzed files. It also lists the number of errors and warnings that were encountered.
  • The code review report lists the rules for which errors or warnings were detected. It also provides information about the location of the error. You can click the title to go directly to the corresponding line in the source code.