With code review, you can create configurations of
coding rules for EGL source code. You can then run the configurations
to check the source code for consistency with the rules.
Overview of software analysis In a software analysis, a configurable set of coding
rules is applied to a specified group of source code files. Results
are generated that identify lines of source code that violate a rule.
Supported features
The code review component includes features for creating
and enforcing coding rules for EGL in the Linux and Windows environments.
Running a code review
A code review can be started from the workbench toolbar,
the software analysis configuration window, the project explorer view,
or the navigator view. The method of starting the code review can
override the scope that is defined in the software analysis configuration.
Viewing results
After you run a code review, you can view the results that
are generated.
Custom categories and rules
A custom rule is a built-in rule for which you specify
one or more parameters that affect the behavior of the rule. A custom
category is a folder for storing custom rules.
Creating user-written rules User-written rules are implemented by Java™ classes that call EGL code analysis APIs.