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. | |
setLogFile ( string $logFile ) : void | Sets the output log file. |
Method | Description | |
---|---|---|
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. |
public getAcceptedAnalyzers ( ) : array(string) | ||
return | array(string) |
public setLogFile ( string $logFile ) : void | ||
$logFile | string | The output log file. |
return | void |