line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Requires::Scanner::Walker; |
2
|
3
|
|
|
3
|
|
20
|
use strict; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
132
|
|
3
|
3
|
|
|
3
|
|
19
|
use warnings; |
|
3
|
|
|
|
|
16
|
|
|
3
|
|
|
|
|
213
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use Class::Accessor::Lite ( |
6
|
3
|
|
|
|
|
45
|
new => 1, |
7
|
|
|
|
|
|
|
rw => [qw/ |
8
|
|
|
|
|
|
|
module_name |
9
|
|
|
|
|
|
|
is_in_usedecl |
10
|
|
|
|
|
|
|
is_in_test_requires |
11
|
|
|
|
|
|
|
is_in_reglist |
12
|
|
|
|
|
|
|
is_prev_module_name |
13
|
|
|
|
|
|
|
is_in_list |
14
|
|
|
|
|
|
|
is_in_hash |
15
|
|
|
|
|
|
|
does_garbage_exist |
16
|
|
|
|
|
|
|
hash_count |
17
|
|
|
|
|
|
|
stashed_module |
18
|
|
|
|
|
|
|
/], |
19
|
3
|
|
|
3
|
|
3628
|
); |
|
3
|
|
|
|
|
13432
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub reset { |
22
|
13
|
|
|
13
|
0
|
16
|
my $self = shift; |
23
|
|
|
|
|
|
|
|
24
|
13
|
|
|
|
|
29
|
$self->module_name(''); |
25
|
13
|
|
|
|
|
73
|
$self->stashed_module(''); |
26
|
|
|
|
|
|
|
|
27
|
13
|
|
|
|
|
60
|
for my $accessor (qw/ |
28
|
|
|
|
|
|
|
is_in_usedecl |
29
|
|
|
|
|
|
|
is_in_test_requires |
30
|
|
|
|
|
|
|
is_in_reglist |
31
|
|
|
|
|
|
|
is_prev_module_name |
32
|
|
|
|
|
|
|
is_in_list |
33
|
|
|
|
|
|
|
is_in_hash |
34
|
|
|
|
|
|
|
does_garbage_exist |
35
|
|
|
|
|
|
|
hash_count |
36
|
|
|
|
|
|
|
/) { |
37
|
104
|
|
|
|
|
540
|
$self->$accessor(0); |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |