summaryrefslogtreecommitdiffstats
path: root/3rdparty/simpletest/extensions/coverage/bin
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/simpletest/extensions/coverage/bin')
-rwxr-xr-x3rdparty/simpletest/extensions/coverage/bin/php-coverage-close.php14
-rwxr-xr-x3rdparty/simpletest/extensions/coverage/bin/php-coverage-open.php31
-rwxr-xr-x3rdparty/simpletest/extensions/coverage/bin/php-coverage-report.php29
3 files changed, 0 insertions, 74 deletions
diff --git a/3rdparty/simpletest/extensions/coverage/bin/php-coverage-close.php b/3rdparty/simpletest/extensions/coverage/bin/php-coverage-close.php
deleted file mode 100755
index 9a5a52ba134..00000000000
--- a/3rdparty/simpletest/extensions/coverage/bin/php-coverage-close.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-/**
- * Close code coverage data collection, next step is to generate report
- * @package SimpleTest
- * @subpackage Extensions
- */
-/**
- * include coverage files
- */
-require_once(dirname(__FILE__) . '/../coverage.php');
-$cc = CodeCoverage::getInstance();
-$cc->readSettings();
-$cc->writeUntouched();
-?> \ No newline at end of file
diff --git a/3rdparty/simpletest/extensions/coverage/bin/php-coverage-open.php b/3rdparty/simpletest/extensions/coverage/bin/php-coverage-open.php
deleted file mode 100755
index c04e1fb512f..00000000000
--- a/3rdparty/simpletest/extensions/coverage/bin/php-coverage-open.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-/**
- * Initialize code coverage data collection, next step is to run your tests
- * with ini setting auto_prepend_file=autocoverage.php ...
- *
- * @package SimpleTest
- * @subpackage Extensions
- */
-# optional arguments:
-# --include=<some filepath regexp> these files should be included coverage report
-# --exclude=<come filepath regexp> these files should not be included in coverage report
-# --maxdepth=2 when considering which file were not touched, scan directories
-#
-# Example:
-# php-coverage-open.php --include='.*\.php$' --include='.*\.inc$' --exclude='.*/tests/.*'
-/**#@+
- * include coverage files
- */
-require_once(dirname(__FILE__) . '/../coverage_utils.php');
-CoverageUtils::requireSqlite();
-require_once(dirname(__FILE__) . '/../coverage.php');
-/**#@-*/
-$cc = new CodeCoverage();
-$cc->log = 'coverage.sqlite';
-$args = CoverageUtils::parseArguments($_SERVER['argv'], TRUE);
-$cc->includes = CoverageUtils::issetOr($args['include[]'], array('.*\.php$'));
-$cc->excludes = CoverageUtils::issetOr($args['exclude[]']);
-$cc->maxDirectoryDepth = (int)CoverageUtils::issetOr($args['maxdepth'], '1');
-$cc->resetLog();
-$cc->writeSettings();
-?> \ No newline at end of file
diff --git a/3rdparty/simpletest/extensions/coverage/bin/php-coverage-report.php b/3rdparty/simpletest/extensions/coverage/bin/php-coverage-report.php
deleted file mode 100755
index d61c822d997..00000000000
--- a/3rdparty/simpletest/extensions/coverage/bin/php-coverage-report.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-/**
- * Generate a code coverage report
- *
- * @package SimpleTest
- * @subpackage Extensions
- */
-# optional arguments:
-# --reportDir=some/directory the default is ./coverage-report
-# --title='My Coverage Report' title the main page of your report
-
-/**#@+
- * include coverage files
- */
-require_once(dirname(__FILE__) . '/../coverage_utils.php');
-require_once(dirname(__FILE__) . '/../coverage.php');
-require_once(dirname(__FILE__) . '/../coverage_reporter.php');
-/**#@-*/
-$cc = CodeCoverage::getInstance();
-$cc->readSettings();
-$handler = new CoverageDataHandler($cc->log);
-$report = new CoverageReporter();
-$args = CoverageUtils::parseArguments($_SERVER['argv']);
-$report->reportDir = CoverageUtils::issetOr($args['reportDir'], 'coverage-report');
-$report->title = CoverageUtils::issetOr($args['title'], "Simpletest Coverage");
-$report->coverage = $handler->read();
-$report->untouched = $handler->readUntouchedFiles();
-$report->generate();
-?> \ No newline at end of file