Package | Description |
---|---|
net.sourceforge.pmd |
This is the PMD programming mistake detector.
|
net.sourceforge.pmd.cli | |
net.sourceforge.pmd.processor |
Modifier and Type | Field and Description |
---|---|
protected PMDConfiguration |
PMD.configuration
Contains the configuration with which this PMD instance has been created.
|
Modifier and Type | Method and Description |
---|---|
PMDConfiguration |
PMD.getConfiguration()
Get the runtime configuration.
|
Modifier and Type | Method and Description |
---|---|
static int |
PMD.doPMD(PMDConfiguration configuration)
This method is the main entry point for command line usage.
|
static java.util.List<DataSource> |
PMD.getApplicableFiles(PMDConfiguration configuration,
java.util.Set<Language> languages)
Determines all the files, that should be analyzed by PMD.
|
static RuleSetFactory |
RulesetsFactoryUtils.getRulesetFactory(PMDConfiguration configuration,
ResourceLoader resourceLoader) |
static Parser |
PMD.parserFor(LanguageVersion languageVersion,
PMDConfiguration configuration)
Helper method to get a configured parser for the requested language.
|
static void |
PMD.processFiles(PMDConfiguration configuration,
RuleSetFactory ruleSetFactory,
java.util.List<DataSource> files,
RuleContext ctx,
java.util.List<Renderer> renderers)
Run PMD on a list of files using multiple threads - if more than one is
available
|
Constructor and Description |
---|
PMD(PMDConfiguration configuration)
Create a PMD instance using the specified Configuration.
|
SourceCodeProcessor(PMDConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
static PMDConfiguration |
PMDParameters.transformParametersIntoConfiguration(PMDParameters params) |
Modifier and Type | Field and Description |
---|---|
protected PMDConfiguration |
AbstractPMDProcessor.configuration |
Constructor and Description |
---|
AbstractPMDProcessor(PMDConfiguration configuration) |
MonoThreadProcessor(PMDConfiguration configuration) |
MultiThreadProcessor(PMDConfiguration configuration) |
Copyright © 2002–2018 PMD. All rights reserved.