test-data/lib/Local/Unused.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 10 | 60.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 3 | 66.6 |
pod | 0 | 1 | 0.0 |
total | 8 | 14 | 57.1 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Local::Unused; | ||||||
2 | |||||||
3 | 1 | 1 | 3245 | use strict; | |||
1 | 11 | ||||||
1 | 48 | ||||||
4 | 1 | 1 | 11 | use warnings; | |||
1 | 94 | ||||||
1 | 130 | ||||||
5 | |||||||
6 | my $foo; | ||||||
7 | |||||||
8 | sub bar { | ||||||
9 | 0 | 0 | 0 | my $unused; | |||
10 | my $one; | ||||||
11 | 0 | my $two; | |||||
12 | 0 | my $three; | |||||
13 | 0 | my $four = 4; | |||||
14 | } | ||||||
15 | |||||||
16 | 1; |