Reading database from ...
------------------------------------------ ------ ------ ------ ------ ------
File stmt bran cond sub total
------------------------------------------ ------ ------ ------ ------ ------
tests/eval1 94.1 n/a n/a 75.0 90.4
Total 94.1 n/a n/a 75.0 90.4
------------------------------------------ ------ ------ ------ ------ ------
Run: ...
Perl version: ...
OS: ...
Start: ...
Finish: ...
tests/eval1
line err stmt bran cond sub code
1 #!/usr/bin/perl
2
3 # Copyright 2002-2014, 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 use strict;
14 use warnings;
15
16 use lib -d "t" ? "t" : "..";
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();
Covered Subroutines
-------------------
Subroutine Count Location
---------- ----- --------------
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