PHP Класс PDepend\Report\Overview\Pyramid

http://www.springer.com/computer/programming/book/978-3-540-24429-5
Наследование: implements PDepend\Report\FileAwareGenerator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.
setLogFile ( string $logFile ) : void Sets the output log file.

Приватные методы

Метод Описание
collectMetrics ( ) : array(string Aggregates the required metrics from the registered analyzers.
computeProportions ( array $metrics ) : array(string Computes the proportions between the given metrics.
computeThreshold ( string $name, mixed $value ) : string Computes the threshold (low, average, high) for the given value and metric.

Описание методов

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

setLogFile() публичный Метод

Sets the output log file.
public setLogFile ( string $logFile ) : void
$logFile string The output log file.
Результат void