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 void |
PMD.doPMD(PMDConfiguration configuration)
This method is the main entry point for command line usage.
|
static List<DataSource> |
PMD.getApplicableFiles(PMDConfiguration configuration,
Set<Language> languages)
Determines all the files, that should be analyzed by PMD.
|
static RuleSetFactory |
RulesetsFactoryUtils.getRulesetFactory(PMDConfiguration configuration) |
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,
Collection<File> files,
RuleContext ctx,
PMD.ProgressMonitor monitor)
An entry point that would typically be used by IDEs intent on providing
ongoing feedback and the ability to terminate it at will.
|
static void |
PMD.processFiles(PMDConfiguration configuration,
RuleSetFactory ruleSetFactory,
List<DataSource> files,
RuleContext ctx,
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) |
PmdRunnable(ExecutorService executor,
PMDConfiguration configuration,
DataSource dataSource,
String fileName,
List<Renderer> renderers) |
Copyright © 2002-2014 InfoEther. All Rights Reserved.