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 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 and 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 and Description |
---|---|
protected java.lang.String |
AbstractPMDProcessor.filenameFrom(DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
void |
MultiThreadProcessor.processFiles(RuleSetFactory ruleSetFactory,
java.util.List<DataSource> files,
RuleContext ctx,
java.util.List<Renderer> renderers)
Run PMD on a list of files using multiple threads.
|
void |
MonoThreadProcessor.processFiles(RuleSetFactory ruleSetFactory,
java.util.List<DataSource> files,
RuleContext ctx,
java.util.List<Renderer> renderers) |
Constructor and Description |
---|
PmdRunnable(java.util.concurrent.ExecutorService executor,
PMDConfiguration configuration,
DataSource dataSource,
java.lang.String fileName,
java.util.List<Renderer> renderers) |
Modifier and Type | Method and Description |
---|---|
void |
Renderer.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.
|
void |
AbstractIncrementingRenderer.startFileAnalysis(DataSource dataSource)
This method is called each time a source file is processed.
|
Modifier and Type | Method and 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 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-2014 InfoEther. All Rights Reserved.