glstream/Run PMD static code analyzer

Analyse code with PMD

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
rulesetsComma-separated list of ruleset or rule references.yes
dirDirectory for the analyzed sources (relative to the repo root)yes.
formatOutput format of the analysis report (see https://pmd.github.io/latest/pmd_userdocs_report_formats.html).no
encodingSpecifies 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
failOnViolationSpecifies 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. yestrue
languageSpecify the language PMD should usenojava
minimumpriorityRule priority threshold; rules with lower priority than configured here won't be used.no
showsuppressedCauses the suppressed rule violations to be added to the report.no
versionSpecify the version of a language PMD should use. Used together with languageno
reportfilePath 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
shortnamesPrints shortened filenames in the reportno
cacheSpecify 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
auxclasspathSpecifies 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
verboseDebug mode. Prints more log output.no
filelistPath 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-languageForce a language to be used for all input files, irrespective of filenames.no
norulesetcompatibilityDisable automatic fixing of invalid rule references.no
no-cacheExplicitly disables incremental analysis.no
suppressmarkerSpecifies the comment token that marks lines which PMD should ignore.no
threadsSets the number of threads used by PMD. Set threads to 0 to disable multi-threading processing.no

no outputs