Reading database from ...
------------------------------------------ ------ ------ ------ ------ ------
File stmt bran cond sub total
------------------------------------------ ------ ------ ------ ------ ------
tests/skip 83.3 50.0 n/a 100.0 72.7
Total 83.3 50.0 n/a 100.0 72.7
------------------------------------------ ------ ------ ------ ------ ------
Run: ...
Perl version: ...
OS: ...
Start: ...
Finish: ...
tests/skip
line err stmt bran cond sub code
1 #!/usr/bin/perl
2
3 # Copyright 2004-2015, 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 sub main {
11 1 1 my ($debug) = @_;
12 1 print "main\n";
13 *** 1 50 print "debug1\n" if $debug;
14 *** 1 50 if ($debug) {
15 *** 0 print "debug2\n";
16 }
17 }
18
19 1 main 0;
Branches
--------
line err % true false branch
----- --- ------ ------ ------ ------
13 *** 50 0 1 if $debug
14 *** 50 0 1 if ($debug)
Covered Subroutines
-------------------
Subroutine Count Location
---------- ----- -------------
main 1 tests/skip:11