Property | Type | Description | |
---|---|---|---|
$abstractClasses | DOMElement | The abstract classes element for the current package. | |
$analyzer | The dependency result set. | ||
$code | PDepend\Source\AST\ASTArtifactList | The raw {@link \PDepend\Source\AST\ASTNamespace} instances. | |
$concreteClasses | DOMElement | The concrete classes element for the current package. | |
$cycles | DOMElement | The Cycles dom element. | |
$fileSet | Set of all analyzed files. | ||
$nodeMetrics | array(string=>array) | List of all collected node metrics. | |
$packages | DOMElement | The Packages dom element. | |
$projectMetrics | array(string=>mixed) | List of all generated project metrics. |
Method | Description | |
---|---|---|
close ( ) : void | Closes the logger process and writes the output file. | |
getAcceptedAnalyzers ( ) : array(string) | Returns an array with accepted analyzer types. These types can be concrete analyzer classes or one of the descriptive analyzer interfaces. | |
log ( PDepend\Metrics\Analyzer $analyzer ) : boolean | Adds an analyzer to log. If this logger accepts the given analyzer it with return true, otherwise the return value is false. | |
setArtifacts ( PDepend\Source\AST\ASTArtifactList $artifacts ) : void | Sets the context code nodes. | |
setLogFile ( string $logFile ) : void | Sets the output log file. | |
visitClass ( PDepend\Source\AST\ASTClass $class ) : void | Visits a class node. | |
visitInterface ( PDepend\Source\AST\ASTInterface $interface ) : void | Visits a code interface object. | |
visitNamespace ( PDepend\Source\AST\ASTNamespace $namespace ) : void | Visits a package node. |
public getAcceptedAnalyzers ( ) : array(string) | ||
return | array(string) |
public setArtifacts ( PDepend\Source\AST\ASTArtifactList $artifacts ) : void | ||
$artifacts | PDepend\Source\AST\ASTArtifactList | |
return | void |
public setLogFile ( string $logFile ) : void | ||
$logFile | string | The output log file. |
return | void |
public visitClass ( PDepend\Source\AST\ASTClass $class ) : void | ||
$class | PDepend\Source\AST\ASTClass | |
return | void |
public visitInterface ( PDepend\Source\AST\ASTInterface $interface ) : void | ||
$interface | PDepend\Source\AST\ASTInterface | |
return | void |
public visitNamespace ( PDepend\Source\AST\ASTNamespace $namespace ) : void | ||
$namespace | PDepend\Source\AST\ASTNamespace | |
return | void |
protected DOMElement $abstractClasses | ||
return | DOMElement |
protected DependencyAnalyzer,PDepend\Metrics\Analyzer $analyzer | ||
return |
protected ASTArtifactList,PDepend\Source\AST $code | ||
return | PDepend\Source\AST\ASTArtifactList |
protected DOMElement $concreteClasses | ||
return | DOMElement |
protected ASTCompilationUnit[],PDepend\Source\AST $fileSet | ||
return |
protected array(string=>array) $nodeMetrics | ||
return | array(string=>array) |
protected DOMElement $packages | ||
return | DOMElement |