PHP 클래스 PDepend\Report\Jdepend\Xml

상속: extends PDepend\Source\ASTVisitor\AbstractASTVisitor, implements PDepend\Report\CodeAwareGenerator, implements PDepend\Report\FileAwareGenerator
파일 보기 프로젝트 열기: pdepend/pdepend 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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.

공개 메소드들

메소드 설명
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.

메소드 상세

close() 공개 메소드

Closes the logger process and writes the output file.
public close ( ) : void
리턴 void

getAcceptedAnalyzers() 공개 메소드

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)
리턴 array(string)

log() 공개 메소드

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.
리턴 boolean

setArtifacts() 공개 메소드

Sets the context code nodes.
public setArtifacts ( PDepend\Source\AST\ASTArtifactList $artifacts ) : void
$artifacts PDepend\Source\AST\ASTArtifactList
리턴 void

setLogFile() 공개 메소드

Sets the output log file.
public setLogFile ( string $logFile ) : void
$logFile string The output log file.
리턴 void

visitClass() 공개 메소드

Visits a class node.
public visitClass ( PDepend\Source\AST\ASTClass $class ) : void
$class PDepend\Source\AST\ASTClass
리턴 void

visitInterface() 공개 메소드

Visits a code interface object.
public visitInterface ( PDepend\Source\AST\ASTInterface $interface ) : void
$interface PDepend\Source\AST\ASTInterface
리턴 void

visitNamespace() 공개 메소드

Visits a package node.
public visitNamespace ( PDepend\Source\AST\ASTNamespace $namespace ) : void
$namespace PDepend\Source\AST\ASTNamespace
리턴 void

프로퍼티 상세

$abstractClasses 보호되어 있는 프로퍼티

The abstract classes element for the current package.
protected DOMElement $abstractClasses
리턴 DOMElement

$analyzer 보호되어 있는 프로퍼티

The dependency result set.
protected DependencyAnalyzer,PDepend\Metrics\Analyzer $analyzer
리턴 PDepend\Metrics\Analyzer\DependencyAnalyzer

$code 보호되어 있는 프로퍼티

The raw {@link \PDepend\Source\AST\ASTNamespace} instances.
protected ASTArtifactList,PDepend\Source\AST $code
리턴 PDepend\Source\AST\ASTArtifactList

$concreteClasses 보호되어 있는 프로퍼티

The concrete classes element for the current package.
protected DOMElement $concreteClasses
리턴 DOMElement

$cycles 보호되어 있는 프로퍼티

The Cycles dom element.
protected DOMElement $cycles
리턴 DOMElement

$fileSet 보호되어 있는 프로퍼티

Set of all analyzed files.
protected ASTCompilationUnit[],PDepend\Source\AST $fileSet
리턴 PDepend\Source\AST\ASTCompilationUnit[]

$nodeMetrics 보호되어 있는 프로퍼티

List of all collected node metrics.
protected array(string=>array) $nodeMetrics
리턴 array(string=>array)

$packages 보호되어 있는 프로퍼티

The Packages dom element.
protected DOMElement $packages
리턴 DOMElement

$projectMetrics 보호되어 있는 프로퍼티

List of all generated project metrics.
protected array(string=>mixed) $projectMetrics
리턴 array(string=>mixed)