Skip to content

Commit 8f97866

Browse files
authored
Remove gcov links
Closes GH-35.
1 parent 5da2657 commit 8f97866

File tree

2 files changed

+1
-31
lines changed

2 files changed

+1
-31
lines changed

index.php

-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
All users who compile PHP are encouraged to run '<a href="/running-tests.php">make test</a>', which
2020
runs the test suite and optionally sends the results to this site to be compiled into <a href="reports/">reports for analysis</a>.
2121
</li>
22-
<li>
23-
Additional test results are available at <a href="http://gcov.php.net/">gcov.php.net</a>.
24-
</li>
2522
</ul>
2623

2724
<h3>Available QA Releases:</h3>

write-test.php

+1-28
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,6 @@
44
$TITLE = "Writing Tests [PHP-QAT: Quality Assurance Team]";
55
$SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__));
66

7-
// This is used below for linking to GCOV (Format: GCOV version => Human readable version)
8-
function get_active_branches() {
9-
return [
10-
'PHP_7_1' => '7.1',
11-
'PHP_7_2' => '7.2',
12-
'PHP_7_3' => '7.3',
13-
'PHP_7_4' => '7.4',
14-
'PHP_HEAD' => '8.0'
15-
];
16-
}
17-
187
common_header();
198
?>
209
<h1>Creating new test files</h1>
@@ -51,24 +40,8 @@ function or an array function) , or a function provided by one of PHP's numerous
5140
(a mysql function or a image function or a mcrypt function).</p>
5241
<p>You can find out what functions already have phpt tests by looking in the <a href="https://github.com/php/php-src">html
5342
version</a> of the git repository (ext/standard/tests/ is a good place to start looking - though not
54-
<i>all</i> the tests currently written are in there). If you look at the <a href="http://gcov.php.net">gcov pages</a> you
55-
can see which functions have lots of tests and which need more, although these pages only
56-
show which lines of code are covered by test cases so even if the coverage looks good there may
57-
be more interesting tests to write - for example covering error cases.</p>
58-
59-
<p>
60-
You can find a list of functionality coverage on GCOV for the following, active branches:
43+
<i>all</i> the tests currently written are in there).</p>
6144

62-
<ul style="list-style-type: square;">
63-
<?php
64-
foreach(get_active_branches() as $gcov_version => $php_version) {
65-
?>
66-
<li><a href="http://gcov.php.net/viewer.php?version=<?php echo($gcov_version); ?>&func=tested_functions">PHP <?php echo($php_version); ?></a></li>
67-
<?php
68-
}
69-
?>
70-
</ul>
71-
</p>
7245
<p>If you want more guidance than that you can always ask
7346
the PHP Quality Assurance Team on their mailing list
7447
(<a href="mailto:[email protected]">[email protected]</a>) where they

0 commit comments

Comments
 (0)