Creating a baseline analysis configuration
Create a baseline analysis configuration to scan only for rule violations that are introduced by changes to a previous version.
Before you begin
The instructions are written for the following simple scenario. A local z/OS® project contains established source code files that include some coding violations. You plan to add new features to the project. You want to be able to run code reviews on the project that show only the coding violations in the source code that you add to the project.
Before you can create a baseline
analysis configuration, you must create an ordinary software analysis
configuration for the project:
- Set the scope to be the project.
- Select a set of coding rules that you want to apply to the project.
Procedure
To create a baseline analysis configuration, follow the steps below.
What to do next
The new baseline analysis
configuration contains the following items:
- A software analysis configuration to run against your project
- A baseline archive that contains a record of the coding violations in the current version of the project.
You are now ready to run the baseline analysis configuration. See Running a code review.