Reading database from ...
------------------------------------------ ------ ------ ------ ------ ------
File stmt bran cond sub total
------------------------------------------ ------ ------ ------ ------ ------
tests/module_ignore 100.0 100.0 n/a n/a 100.0
Total 100.0 100.0 n/a n/a 100.0
------------------------------------------ ------ ------ ------ ------ ------
Run: ...
Perl version: ...
OS: ...
Start: ...
Finish: ...
tests/module_ignore
line err stmt bran cond sub code
1 #!/usr/bin/perl
2
3 # Copyright 2006-2013, 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__ ignore Module1
11
12 use strict;
13 use warnings;
14
15 use lib "tests";
16
17 use Module1;
18
19 1 my @x;
20
21 1 for (0 .. 10)
11
22 {
23 11 100 if (Module1::zz($_))
24 {
25 10 $x[0]++;
26 }
27 else
28 {
29 1 $x[1]++;
30 }
31 }
Branches
--------
line err % true false branch
----- --- ------ ------ ------ ------
23 100 10 1 if (Module1::zz $_) { }