private visitCallable ( PDepend\Source\AST\AbstractASTCallable $callable ) : void | ||
$callable | PDepend\Source\AST\AbstractASTCallable | |
Результат | void |
private function visitCallable(AbstractASTCallable $callable)
{
$this->metrics[$callable->getId()] = array(self::M_CRAP_INDEX => $this->calculateCrapIndex($callable), self::M_COVERAGE => $this->calculateCoverage($callable));
}