Package | Description |
---|---|
net.sourceforge.pmd |
This is the PMD programming mistake detector.
|
net.sourceforge.pmd.cli | |
net.sourceforge.pmd.processor |
Modifier and Type | Field | Description |
---|---|---|
protected PMDConfiguration |
PMD.configuration |
Contains the configuration with which this PMD instance has been created.
|
Modifier and Type | Method | Description |
---|---|---|
PMDConfiguration |
PMD.getConfiguration() |
Get the runtime configuration.
|
Modifier and Type | Method | 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 | Description |
---|---|
PMD(PMDConfiguration configuration) |
Create a PMD instance using the specified Configuration.
|
SourceCodeProcessor(PMDConfiguration configuration) |
Modifier and Type | Method | Description |
---|---|---|
PMDConfiguration |
PMDParameters.toConfiguration() |
Converts these parameters into a configuration.
|
static PMDConfiguration |
PMDParameters.transformParametersIntoConfiguration(PMDParameters params) |
Deprecated.
To be removed in 7.0.0.
|
Modifier and Type | Field | Description |
---|---|---|
protected PMDConfiguration |
AbstractPMDProcessor.configuration |
Constructor | Description |
---|---|
AbstractPMDProcessor(PMDConfiguration configuration) |
|
MonoThreadProcessor(PMDConfiguration configuration) |
|
MultiThreadProcessor(PMDConfiguration configuration) |
Copyright © 2002–2018 PMD. All rights reserved.