PDepend\Metrics\Analyzer\CrapIndexAnalyzer::doAnalyze PHP Method

doAnalyze() private method

Performs the crap index analysis.
private doAnalyze ( PDepend\Source\AST\ASTNamespace[] $namespaces ) : void
$namespaces PDepend\Source\AST\ASTNamespace[]
return void
    private function doAnalyze($namespaces)
    {
        $this->metrics = array();
        $this->ccnAnalyzer->analyze($namespaces);
        $this->fireStartAnalyzer();
        foreach ($namespaces as $namespace) {
            $namespace->accept($this);
        }
        $this->fireEndAnalyzer();
    }