public function apply(PHPUnit_Util_Metrics $metrics) { $ce = $metrics->getCe(); if ($ce > $this->threshold) { return sprintf("Class depends on %d other classes.\n" . 'The number of other classes that the class ' . 'depends upon is an indicator of the class\' ' . 'independence.', $ce); } }