PDepend\Metrics\Analyzer\NodeLocAnalyzer::updateProjectMetrics PHP 메소드

updateProjectMetrics() 개인적인 메소드

Updates the project metrics based on the node metrics identifier by the given $id.
private updateProjectMetrics ( string $id ) : void
$id string The unique identifier of a node.
리턴 void
    private function updateProjectMetrics($id)
    {
        foreach ($this->metrics[$id] as $metric => $value) {
            $this->projectMetrics[$metric] += $value;
        }
    }