Execute PMD Static code analyzer for apex classes. It will help you find common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and many more. This operation can be executed after build or before deployment on the artifact. You can provide a rule file to control what to check or use the default rule file.
...
Property Name | Property Code | Required | Description |
---|---|---|---|
PMD Path |
| No | Path for the PMD install. (Eg: /u01/pmd-bin-6.30.0/bin) |
...
Property Name | Property Code | Required | Description |
---|---|---|---|
PMD Rule File Name |
| No | PMD Rule File with path. Default rules would be used, if not provided. |
...
Input Name | Input Code | Required | Description |
---|---|---|---|
PMD Rule File Name |
| No | PMD Rule File with path. |
Project Source Folder |
| No | Path to the project which contains a Apex classes. Project artifact would be use, if not provided. |
...
Output Name | Required | Description |
---|---|---|
| No | Total issues count |
| No | Total issues count for priority 1 |
| No | Total issues count for priority 2 |
| No | Total issues count for priority 3 |
| No | Total issues count for priority 4 |
Artifacts
This operation consumes artifacts from the artifacts repository.
Endpoint Selection
This operation will select all available endpoints associated to the Target.
...