From b83f3d37c8b2ffd1bbfe4a991cf02a29bf94884c Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sun, 10 Jan 2010 13:06:11 -0500 Subject: [PATCH] Removing unused method. --- cake/tests/lib/code_coverage_manager.php | 37 ------------------------ 1 file changed, 37 deletions(-) diff --git a/cake/tests/lib/code_coverage_manager.php b/cake/tests/lib/code_coverage_manager.php index 3dee49713..1c19791e4 100644 --- a/cake/tests/lib/code_coverage_manager.php +++ b/cake/tests/lib/code_coverage_manager.php @@ -214,43 +214,6 @@ class CodeCoverageManager { } } -/** - * Html reporting - * - * @param string $testObjectFile - * @param string $coverageData - * @param string $execCodeLines - * @param string $output - * @return void - * @static - */ - function reportCaseHtml($testObjectFile, $coverageData, $execCodeLines) { - $manager = CodeCoverageManager::getInstance(); - $lineCount = $coveredCount = 0; - $report = ''; - - foreach ($testObjectFile as $num => $line) { - $num++; - $foundByManualFinder = isset($execCodeLines[$num]) && trim($execCodeLines[$num]) != ''; - $foundByXdebug = isset($coverageData[$num]) && $coverageData[$num] !== -2; - - // xdebug does not find all executable lines (zend engine fault) - if ($foundByManualFinder && $foundByXdebug) { - $class = 'uncovered'; - $lineCount++; - - if ($coverageData[$num] > 0) { - $class = 'covered'; - $coveredCount++; - } - } else { - $class = 'ignored'; - } - $report .= $manager->__paintCodeline($class, $num, $line); - } - return $manager->__paintHeader($lineCount, $coveredCount, $report); - } - /** * Diff reporting *