interface SourceAnalyzer
The interface for objects that can analyze the source files within one or more directory trees using a specified RuleSet and produce report results.
Type Params | Return Type | Name and description |
---|---|---|
|
abstract Results |
analyze(RuleSet ruleSet) Analyze all source code using the specified RuleSet and return the report results. |
|
abstract java.util.List |
getSourceDirectories() Return the List of source directories to be analyzed. |
Analyze all source code using the specified RuleSet and return the report results.
ruleset
- - the RuleSet to apply to each source component; must not be null.Return the List of source directories to be analyzed. May be empty; may not be null.