PDepend\Metrics\Analyzer\CrapIndexAnalyzer::visitCallable PHP Метод

visitCallable() приватный Метод

Visits the given callable instance.
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));
    }