Method | Description | |
---|---|---|
__construct ( array $options = [] ) | Constructs a new analyzer instance. | |
addAnalyzeListener ( PDepend\Metrics\AnalyzerListener $listener ) : void | Adds a listener to this analyzer. | |
analyze ( PDepend\Source\AST\ASTNamespace[] $namespaces ) : void | Processes all {@link \PDepend\Source\AST\ASTNamespace} code nodes. | |
isEnabled ( ) : boolean | An analyzer that is active must return true to recognized by pdepend framework, while an analyzer that does not perform any action for any reason should return false. | |
setOptions ( array $options = [] ) | Set global options |
public __construct ( array $options = [] ) | ||
$options | array |
public addAnalyzeListener ( PDepend\Metrics\AnalyzerListener $listener ) : void | ||
$listener | PDepend\Metrics\AnalyzerListener | The listener instance. |
return | void |
public setOptions ( array $options = [] ) | ||
$options | array |