This is the PMD programming mistake detector. In order to use it,
create a new instance of
PMD and use its
Interface Summary Interface Description RuleThis is the basic Rule interface for PMD rules. RuleViolationA RuleViolation is created by a Rule when it identifies a violation of the Rule constraints. ViolationSuppressorAn object that suppresses rule violations.
Class Summary Class Description AbstractConfigurationBase configuration class for both PMD and CPD. PMD Deprecated.This class is to be removed in PMD 7 in favor of a unified PmdCli entry point. PmdAnalysisMain programmatic API of PMD. PMDConfigurationThis class contains the details for the runtime configuration of a PMD run. PMDVersionStores the current PMD version and provides utility methods around it. ReportA
Reportcollects all informations during a PMD execution.
Report.ConfigurationErrorRepresents a configuration error. Report.GlobalReportBuilderListener Report.ProcessingErrorRepresents a processing error, such as a parse error. Report.ReportBuilderListener Report.SuppressedViolationRepresents a violation, that has been suppressed. RuleContextThe API for rules to report violations or errors during analysis. RuleSetThis class represents a collection of rules along with some optional filter patterns that can preclude their application on specific files. RuleSetLoaderConfigurable object to load rulesets from XML resources. RuleSetReference Deprecated.This is part of the internals of the
RuleSetReferenceId Deprecated.This is part of the internals of the
RuleSets Deprecated.Internal API RuleSetWriterThis class represents a way to serialize a RuleSet to an XML configuration file.
Enum Summary Enum Description PMD.StatusCode Deprecated.This class is to be removed in PMD 7 in favor of a unified PmdCli entry point. RulePriorityThese are the possible Rule priority values.
Exception Summary Exception Description RuleSetLoadExceptionAn exception that is thrown when something wrong occurs while loading rulesets.