Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. 

...

Input Name

Input Code

Required

Description

PMD Rule File Name

FDSF_INP_PMD_RULE_FILE

No

PMD Rule File with path.

Project Source Folder

FDSF_INP_PROJECT_LOCATION

No

Path to the project which contains a Apex classes. Project artifact would be useThe project artifact is unzipped and used, if this value is not provided.

Outputs

Output Name

Required

Description

FDSF_OUT_TOTAL_ISSUE_COUNT

No

Total issues count

FDSF_OUT_PRIORITY1_TOTAL_ISSUE_COUNT

No

Total issues count for priority 1

FDSF_OUT_PRIORITY2_TOTAL_ISSUE_COUNT

No

Total issues count for priority 2

FDSF_OUT_PRIORITY3_TOTAL_ISSUE_COUNT

No

Total issues count for priority 3

FDSF_OUT_PRIORITY4_TOTAL_ISSUE_COUNT

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.

...