Code Review for C
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. Test RealTime provides an automated code review tool, which reports on 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.
How the code review tool works
When an application or test node is built, the source code is analyzed by the code review tool. The tool checks the source file against the predefined rules and produces a .crc report file that can be viewed and controlled from the Test RealTime GUI.
Of course, these steps are mostly transparent to the user when the test or application node is built in the Test RealTime GUI.
Code review can be performed each time a node is built, but can also be calculated without executing the application.
To learn about |
See |
Setting up the rules to used for reviewing code |
|
Performing a code review |
|
Viewing and understanding the results of a code review |
|
Interpreting code review reports |
|
Locally disabling a rule |
|
The list of rules used by Test RealTime code review |