Reading database from ...
------------------------------------------ ------ ------ ------ ------ ------
File stmt bran cond sub total
------------------------------------------ ------ ------ ------ ------ ------
tests/eval1 96.1 50.0 n/a 85.7 91.4
Total 96.1 50.0 n/a 85.7 91.4
------------------------------------------ ------ ------ ------ ------ ------
Run: ...
Perl version: ...
OS: ...
Start: ...
Finish: ...
tests/eval1
line err stmt bran cond sub code
1 #!/usr/bin/perl
2
3 # Copyright 2002-2017, Paul Johnson (paul@pjcj.net)
4
5 # This software is free. It is licensed under the same terms as Perl itself.
6
7 # The latest version of this software should be available from my homepage:
8 # http://www.pjcj.net
9
10 # __COVER__ skip_test $] == 5.010
11 # __COVER__ skip_reason One test fails only under make test on 5.10.0 unthreaded
12
13 1 1 use strict;
1
1
14 1 1 use warnings;
1
1
15
16 *** 1 50 1 use lib -d "t" ? "t" : "..";
1
1
17
18 1 my $x;
19
20 1 3 eval <<'EOS';
3
3
21 sub e {
22 $x++;
23 $x
24 }
25 EOS
26
27 1 2 eval <<'EOS';
*** 2 0
2 3
*** 0
3
28 sub f {
29 $x++;
30 $x
31 }
32
33 sub g {
34 $x++;
35 }
36
37 sub h {
38 $x++;
39 }
40 EOS
41
42 1 e();
43 1 e();
44 1 e();
45 1 f();
46 1 f();
47 1 h();
48 1 h();
49 1 h();
Branches
--------
line err % true false branch
----- --- ------ ------ ------ ------
16 *** 50 1 0 -d 't' ? :
Covered Subroutines
-------------------
Subroutine Count Location
---------- ----- --------------
BEGIN 1 tests/eval1:13
BEGIN 1 tests/eval1:14
BEGIN 1 tests/eval1:16
e 3 tests/eval1:20
f 2 tests/eval1:27
h 3 tests/eval1:27
Uncovered Subroutines
---------------------
Subroutine Count Location
---------- ----- --------------
g 0 tests/eval1:27