/
special_blocks.5.008001
51 lines (44 loc) · 2.04 KB
/
special_blocks.5.008001
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Reading database from cover_db
------------------------------------------------- ------ ------ ------ ------
File stmt branch cond total
------------------------------------------------- ------ ------ ------ ------
tests/special_blocks 100.00 n/a n/a 100.00
Total 100.00 n/a n/a 100.00
------------------------------------------------- ------ ------ ------ ------
tests/special_blocks
line err stmt branch cond code
1 #!/usr/local/bin/perl
2
3 # Copyright 2002-2003, Paul Johnson (pjcj@cpan.org)
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 use strict;
11 use warnings;
12
13 1 my $x;
14
15 BEGIN
16 {
17 $x++
18 }
19
20 CHECK
21 {
22 $x++
23 }
24
25 INIT
26 {
27 $x++
28 }
29
30 END
31 {
32 $x++
33 }
34
35 1 $x++;