/**
  * Initializes the node metric record for the given <b>$namespace</b>.
  *
  * @param \PDepend\Source\AST\ASTNamespace $namespace
  * @return void
  */
 protected function initNamespaceMetric(ASTNamespace $namespace)
 {
     $id = $namespace->getId();
     if (!isset($this->nodeMetrics[$id])) {
         $this->nodeSet[$id] = $namespace;
         $this->nodeMetrics[$id] = array(self::M_NUMBER_OF_CLASSES => 0, self::M_NUMBER_OF_CONCRETE_CLASSES => 0, self::M_NUMBER_OF_ABSTRACT_CLASSES => 0, self::M_AFFERENT_COUPLING => array(), self::M_EFFERENT_COUPLING => array(), self::M_ABSTRACTION => 0, self::M_INSTABILITY => 0, self::M_DISTANCE => 0);
     }
 }