Runs the PHP_Depend software analyzer and metric tool.
Performs static code analysis on a given source base.
package |
phing.tasks.ext.pdepend |
---|---|
author |
Benjamin Schultz bschultz@proqrent.de |
version |
$Id: 5a1ff2a9ecd43e484920a1940b33caa70f72ca63 $ |
since | 2.4.1 |
requireDependencies() : void
throws |
---|
setFile(\PhingFile $file) : void
createFileSet() : \FileSet
setAllowedFileExtensions(string $fileExtensions) : void
string
List of valid file extensions
setExcludeDirectories(string $excludeDirectories) : void
string
List of exclude directories
setExcludePackages(string $excludePackages) : void
string
Exclude packages
setWithoutAnnotations(boolean $withoutAnnotations) : void
boolean
setSupportBadDocumentation(boolean $supportBadDocumentation) : void
boolean
setDebug(boolean $debug) : void
boolean
setHaltonerror(boolean $haltonerror) : void
boolean
setConfigFile(\PhingFile $configFile) : void
createLogger() : \PhpDependLoggerElement
createAnalyzer() : \PhpDependAnalyzerElement
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
validateLoggers() : void
throws |
---|
validateAnalyzers() : void
throws |
---|
setOwningTarget(\Target $target)
getOwningTarget() : \Target
getTaskName() : string
string
Name of this task
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
getTaskType() : string
string
The type of this task (XML Tag)
setTaskType($name)
getRegisterSlot(string $slotName)
string
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
setDescription(string $desc)
string
The text describing the task
getDescription() : string
string
The text description of the task
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws |
---|
getLocation() : \Location
setLocation(\Location $location)
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
maybeConfigure()
perform()
setProject(\Project $project)
getProject() : \Project
_filesets : \array<FileSet>
var |
---|
\array
_allowedFileExtensions : \array<string>
var |
---|
\array
_excludeDirectories : \array<string>
var |
---|
\array
_excludePackages : \array<string>
var |
---|
\array
_withoutAnnotations : boolean
var |
---|
boolean
_supportBadDocumentation : boolean
var |
---|
boolean
_debug : boolean
var |
---|
boolean
_loggers : \array<PhpDependLoggerElement>
var |
---|
\array
_analyzers : \array<PhpDependAnalyzerElement>
var |
---|
\array
_runner : \PHP_Depend_TextUI_Runner
var |
---|
\PHP_Depend_TextUI_Runner
_haltonerror : boolean
var |
---|
boolean
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project