public function getMetrics()
    {
        if ($this->metrics === null) {
            $this->metrics = new Metrics($this->coverage);
        }

        return $this->metrics;
    }
public function getMetrics()
    {
        if ($this->metrics === null) {
            $this->metrics = new Metrics($this->coverage);
        }

        return $this->metrics;
    }
public function getMetrics ( ) { if ( $ this -> metrics === null ) { $ this -> metrics = new Metrics ( $ this -> coverage ) ; } return $ this -> metrics ; }
Return metrics.

@return Metrics
Return metrics .