Package | Description |
---|---|
net.sourceforge.pmd |
This is the PMD programming mistake detector.
|
net.sourceforge.pmd.processor | |
net.sourceforge.pmd.renderers | |
net.sourceforge.pmd.util | |
net.sourceforge.pmd.util.datasource |
Modifier and Type | Method and Description |
---|---|
static List<DataSource> |
PMD.getApplicableFiles(PMDConfiguration configuration,
Set<Language> languages)
Determines all the files, that should be analyzed by PMD.
|
static List<DataSource> |
PMD.getURIDataSources(String uriString)
Parses the given string as a database uri and returns a list of
datasources.
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractPMDProcessor.filenameFrom(DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPMDProcessor.processFiles(RuleSetFactory ruleSetFactory,
List<DataSource> files,
RuleContext ctx,
List<Renderer> renderers) |
Constructor and Description |
---|
PmdRunnable(PMDConfiguration configuration,
DataSource dataSource,
String fileName,
List<Renderer> renderers,
RuleContext ruleContext,
RuleSetFactory ruleSetFactory,
SourceCodeProcessor sourceCodeProcessor) |
Modifier and Type | Method and Description |
---|---|
void |
Renderer.startFileAnalysis(DataSource dataSource)
This method is called each time a source file is processed.
|
void |
AbstractIncrementingRenderer.startFileAnalysis(DataSource dataSource)
This method is called each time a source file is processed.
|
void |
AbstractAccumulatingRenderer.startFileAnalysis(DataSource dataSource)
This method is called each time a source file is processed.
|
Modifier and Type | Method and Description |
---|---|
static List<DataSource> |
FileUtil.collectFiles(String fileLocations,
FilenameFilter filenameFilter)
Collects a list of DataSources using a comma separated list of input file
locations to process.
|
Modifier and Type | Class and Description |
---|---|
class |
FileDataSource
DataSource implementation to read data from a file.
|
class |
ReaderDataSource
DataSource implementation to read data from a Reader.
|
class |
ZipDataSource
DataSource implementation to read data from an entry in a zip or jar file.
|
Copyright © 2002–2017 PMD. All rights reserved.