glstream/Run PMD static code analyzer
Analyse code with PMD
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| rulesets | Comma-separated list of ruleset or rule references. | yes | — |
| dir | Directory for the analyzed sources (relative to the repo root) | yes | . |
| format | Output format of the analysis report (see https://pmd.github.io/latest/pmd_userdocs_report_formats.html). | no | — |
| encoding | Specifies the character set encoding of the source code files PMD is reading. The valid values are the standard character sets of java.nio.charset.Charset. | no | — |
| failOnViolation | Specifies whether PMD exits with non-zero status if violations are found. By default PMD exits with status 4 if violations are found. Disable this feature withfailOnViolation false to exit with 0 instead and just output the report. | yes | true |
| language | Specify the language PMD should use | no | java |
| minimumpriority | Rule priority threshold; rules with lower priority than configured here won't be used. | no | — |
| showsuppressed | Causes the suppressed rule violations to be added to the report. | no | — |
| version | Specify the version of a language PMD should use. Used together with language | no | — |
| reportfile | Path to a file to which report output is written. The file is created if it does not exist. If this option is not specified, the report is rendered to standard output. | no | — |
| shortnames | Prints shortened filenames in the report | no | — |
| cache | Specify the location of the cache file for incremental analysis. This should be the full path to the file, including the desired file name (not just the parent directory). | no | — |
| auxclasspath | Specifies the classpath for libraries used by the source code. This is used to resolve types in source files. The platform specific path delimiter (":" on Linux, ";" on Windows) is used to separate the entries. Alternatively, a single file: URL to a text file containing path elements on consecutive lines can be specified. | no | — |
| verbose | Debug mode. Prints more log output. | no | — |
| filelist | Path to file containing a comma delimited list of files to analyze. If this is given, then you don't need to provide -dir. | no | — |
| force-language | Force a language to be used for all input files, irrespective of filenames. | no | — |
| norulesetcompatibility | Disable automatic fixing of invalid rule references. | no | — |
| no-cache | Explicitly disables incremental analysis. | no | — |
| suppressmarker | Specifies the comment token that marks lines which PMD should ignore. | no | — |
| threads | Sets the number of threads used by PMD. Set threads to 0 to disable multi-threading processing. | no | — |
Outputs
no outputs