Reading database from ...
------------------------------------------ ------ ------ ------ ------ ------
File stmt bran cond sub total
------------------------------------------ ------ ------ ------ ------ ------
tests/special_blocks 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/special_blocks
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 1 1 use strict;
1
1
11 1 1 use warnings;
1
1
12
13 1 my $x;
14
15 BEGIN {
16 1 1 $x++
17 }
18
19 CHECK {
20 1 1 $x++
21 }
22
23 INIT {
24 $x++
25 }
26
27 END {
28 $x++
29 }
30
31 1 $x++;
Covered Subroutines
-------------------
Subroutine Count Location
---------- ----- -----------------------
BEGIN 1 tests/special_blocks:10
BEGIN 1 tests/special_blocks:11
BEGIN 1 tests/special_blocks:16
CHECK 1 tests/special_blocks:20