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 | Description |
---|---|---|
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 java.util.List<DataSource> |
PMD.getURIDataSources(java.lang.String uriString) |
Parses the given string as a database uri and returns a list of
datasources.
|
Modifier and Type | Method | Description |
---|---|---|
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
|
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.String |
AbstractPMDProcessor.filenameFrom(DataSource dataSource) |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractPMDProcessor.processFiles(RuleSetFactory ruleSetFactory,
java.util.List<DataSource> files,
RuleContext ctx,
java.util.List<Renderer> renderers) |
Constructor | Description |
---|---|
PmdRunnable(DataSource dataSource,
java.lang.String fileName,
java.util.List<Renderer> renderers,
RuleContext ruleContext,
RuleSets ruleSets,
SourceCodeProcessor sourceCodeProcessor) |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractAccumulatingRenderer.startFileAnalysis(DataSource dataSource) |
|
void |
AbstractIncrementingRenderer.startFileAnalysis(DataSource dataSource) |
|
void |
EmptyRenderer.startFileAnalysis(DataSource dataSource) |
|
void |
Renderer.startFileAnalysis(DataSource dataSource) |
This method is called each time a source file is processed.
|
Modifier and Type | Method | Description |
---|---|---|
static java.util.List<DataSource> |
FileUtil.collectFiles(java.lang.String fileLocations,
java.io.FilenameFilter filenameFilter) |
Collects a list of DataSources using a comma separated list of input file
locations to process.
|
Modifier and Type | Class | 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–2018 PMD. All rights reserved.