public function merge(self $that)
    {
        $this->statements += $that->statements;
        $this->coveredStatements += $that->coveredStatements;
        $this->lineCoverage = null; // clear previous data
    }
public function merge(self $that)
    {
        $this->statements += $that->statements;
        $this->coveredStatements += $that->coveredStatements;
        $this->lineCoverage = null; // clear previous data
    }
public function merge ( self $ that ) { $ this -> statements += $ that -> statements ; $ this -> coveredStatements += $ that -> coveredStatements ; $ this -> lineCoverage = null ; // clear previous data }
Merge other metrics.

@param Metrics $that
Merge other metrics .