Versions Compared

Key

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

...

Property Name

Property Code

Required

Description

PMD Path

FDPMD_PATH

No

Absolute path to PMD bin folder containing run.sh and pmd.bat

(Eg: /u01/pmd/pmd-bin-6.46.0/bin)

(if this Value left empty plug in If this value is empty, then the plugin will install PMD v6.54.0 on end point)

Project Properties 

Property Name

Property Code

Required

Description

PMD Rule File NameNames

FDPMD_RULE_FILE

No*

PMD Rule File Name(s). Specify multiple PMD Rule Files separated by commacommas. Relative paths are in respect to FD_TEMP_DIR but absolute path can also be set.

* FDPMD_RULE_FILE or FDPMD_INP_PMD_RULE_FILE must be configured OR FDPMD_LANG_TYPE must be configured to default a rule set file.

Language Type

FDPMD_LANG_TYPE

No

Select this to define what language PMD will use to test.(This Property is mandatory if No custom Ruleset provided. )

...

Input Name

Input Code

Required

Description

PMD Rule File NameNames

FDPMD_INP_PMD_RULE_FILE

No*

Rule File Name(s). Specify multiple PMD Rule file with pathFiles separated commas. Relative paths are in respect to FD_TEMP_DIR but absolute path can also be set.

* FDPMD_RULE_FILE or FDPMD_INP_PMD_RULE_FILE must be configured OR FDPMD_LANG_TYPE must be configured to default a rule set file.

Project Source Folder

FDPMD_INP_PROJECT_LOCATION

No

Path to the project. If a relative path is given, a path inside of the FD_TEMP_DIR will be assumed.

Additional arguments

FDPMD_INP_ADDITIONAL_ARGS

No

Additional arguments(Arguments to pass to the PMD CLI such as options, output formats, and supported languages.

https://pmd.github.io/pmd/pmd_userdocs_cli_reference.html#options

ex: --debug,--use-version <lang-version>)

Outputs

Output Name

Required

Description

FDPMD_OUT_TOTAL_ISSUE_COUNT

No

Total issues count

FDPMD_OUT_PRIORITY1_TOTAL_ISSUE_COUNT

No

Total issues count for priority 1

FDPMD_OUT_PRIORITY2_TOTAL_ISSUE_COUNT

No

Total issues count for priority 2

FDPMD_OUT_PRIORITY3_TOTAL_ISSUE_COUNT

No

Total issues count for priority 3

FDPMD_OUT_PRIORITY4_TOTAL_ISSUE_COUNT

No

Total issues count for priority 4

...