public function apply(PHPUnit_Util_Metrics $metrics)
 {
     $publicMethods = $metrics->getPublicMethods();
     if ($publicMethods > $this->threshold) {
         return sprintf("Class has %d public methods.\n" . 'A large number of public methods and attributes ' . 'declared in a class can indicate the class may need ' . 'to be broken up as increased effort will be required ' . 'to thoroughly test it.', $publicMethods);
     }
 }