The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Reading database from ...


------------------------------------------ ------ ------ ------ ------ ------
File                                         stmt   bran   cond    sub  total
------------------------------------------ ------ ------ ------ ------ ------
tests/subs_only                             100.0    n/a    n/a  100.0  100.0
Total                                       100.0    n/a    n/a  100.0  100.0
------------------------------------------ ------ ------ ------ ------ ------


Run: ...
Perl version: ...
OS: ...
Start: ...
Finish: ...

tests/subs_only

line  err   stmt   bran   cond    sub   code
1                                       #!/usr/bin/perl
2                                       
3                                       # Copyright 2006-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__ test_parameters -subs_only,1
11                                      
12                                      use strict;
13                                      use warnings;
14                                      
15                                      use lib "tests";
16                                      
17                                      my @x;
18                                      
19                                      sub xx {
20            11                   11       $x[shift]++;
21                                      }
22                                      
23                                      for (0 .. 10) {
24                                          if (time) {
25                                              xx(0);
26                                          } else {
27                                              $x[1]++;
28                                          }
29                                      }


Covered Subroutines
-------------------

Subroutine Count Location          
---------- ----- ------------------
xx            11 tests/subs_only:20