class AntFileSetSourceAnalyzer
SourceAnalyzer implementation that gets source files from one or more Ant FileSets. This class is not reentrant.
Modifiers | Name | Description |
---|---|---|
protected List |
fileSets |
|
protected ResultsNode |
rootResultsNode |
Constructor and description |
---|
AntFileSetSourceAnalyzer
(org.apache.tools.ant.Project project, List fileSets) Construct a new instance on the specified List of Ant FileSets. |
Type Params | Return Type | Name and description |
---|---|---|
|
ResultsNode |
analyze(MetricSet metricSet) Analyze all source code using the specified MetricSet and return the results node. |
|
protected ResultsNode |
findOrAddResultsNodeForPath(String path, String packageName) |
|
protected ResultsNode |
findResultsNodeForPath(String path) |
|
List |
getSourceDirectories() |
Construct a new instance on the specified List of Ant FileSets.
project
- - the Ant ProjectfileSets
- - the List of Ant FileSet; my be empty; must not be nullAnalyze all source code using the specified MetricSet and return the results node.
metricSet
- - the MetricSet to apply to each source component; must not be null.