PHP Class PDepend\Report\Jdepend\Xml

Inheritance: extends PDepend\Source\ASTVisitor\AbstractASTVisitor, implements PDepend\Report\CodeAwareGenerator, implements PDepend\Report\FileAwareGenerator
Afficher le fichier Open project: pdepend/pdepend Class Usage Examples

Protected Properties

Свойство Type Description
$abstractClasses DOMElement The abstract classes element for the current package.
$analyzer PDepend\Metrics\Analyzer\DependencyAnalyzer 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 PDepend\Source\AST\ASTCompilationUnit[] 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.

Méthodes publiques

Méthode 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.

Method Details

close() public méthode

Closes the logger process and writes the output file.
public close ( ) : void
Résultat void

getAcceptedAnalyzers() public méthode

Returns an array with accepted analyzer types. These types can be concrete analyzer classes or one of the descriptive analyzer interfaces.
public getAcceptedAnalyzers ( ) : array(string)
Résultat array(string)

log() public méthode

Adds an analyzer to log. If this logger accepts the given analyzer it with return true, otherwise the return value is false.
public log ( PDepend\Metrics\Analyzer $analyzer ) : boolean
$analyzer PDepend\Metrics\Analyzer The analyzer to log.
Résultat boolean

setArtifacts() public méthode

Sets the context code nodes.
public setArtifacts ( PDepend\Source\AST\ASTArtifactList $artifacts ) : void
$artifacts PDepend\Source\AST\ASTArtifactList
Résultat void

setLogFile() public méthode

Sets the output log file.
public setLogFile ( string $logFile ) : void
$logFile string The output log file.
Résultat void

visitClass() public méthode

Visits a class node.
public visitClass ( PDepend\Source\AST\ASTClass $class ) : void
$class PDepend\Source\AST\ASTClass
Résultat void

visitInterface() public méthode

Visits a code interface object.
public visitInterface ( PDepend\Source\AST\ASTInterface $interface ) : void
$interface PDepend\Source\AST\ASTInterface
Résultat void

visitNamespace() public méthode

Visits a package node.
public visitNamespace ( PDepend\Source\AST\ASTNamespace $namespace ) : void
$namespace PDepend\Source\AST\ASTNamespace
Résultat void

Property Details

$abstractClasses protected_oe property

The abstract classes element for the current package.
protected DOMElement $abstractClasses
Résultat DOMElement

$analyzer protected_oe property

The dependency result set.
protected DependencyAnalyzer,PDepend\Metrics\Analyzer $analyzer
Résultat PDepend\Metrics\Analyzer\DependencyAnalyzer

$code protected_oe property

The raw {@link \PDepend\Source\AST\ASTNamespace} instances.
protected ASTArtifactList,PDepend\Source\AST $code
Résultat PDepend\Source\AST\ASTArtifactList

$concreteClasses protected_oe property

The concrete classes element for the current package.
protected DOMElement $concreteClasses
Résultat DOMElement

$cycles protected_oe property

The Cycles dom element.
protected DOMElement $cycles
Résultat DOMElement

$fileSet protected_oe property

Set of all analyzed files.
protected ASTCompilationUnit[],PDepend\Source\AST $fileSet
Résultat PDepend\Source\AST\ASTCompilationUnit[]

$nodeMetrics protected_oe property

List of all collected node metrics.
protected array(string=>array) $nodeMetrics
Résultat array(string=>array)

$packages protected_oe property

The Packages dom element.
protected DOMElement $packages
Résultat DOMElement

$projectMetrics protected_oe property

List of all generated project metrics.
protected array(string=>mixed) $projectMetrics
Résultat array(string=>mixed)