| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Perl::PrereqScanner::NotQuiteLite::Parser::Later; |
|
2
|
|
|
|
|
|
|
|
|
3
|
94
|
|
|
94
|
|
2753
|
use strict; |
|
|
94
|
|
|
|
|
180
|
|
|
|
94
|
|
|
|
|
2878
|
|
|
4
|
94
|
|
|
94
|
|
413
|
use warnings; |
|
|
94
|
|
|
|
|
525
|
|
|
|
94
|
|
|
|
|
4069
|
|
|
5
|
94
|
|
|
94
|
|
606
|
use Perl::PrereqScanner::NotQuiteLite::Util; |
|
|
94
|
|
|
|
|
259
|
|
|
|
94
|
|
|
|
|
23367
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub register { return { |
|
8
|
93
|
|
|
93
|
0
|
497
|
use => { |
|
9
|
|
|
|
|
|
|
'later' => 'parse_later_args', |
|
10
|
|
|
|
|
|
|
}, |
|
11
|
|
|
|
|
|
|
}} |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub parse_later_args { |
|
14
|
2
|
|
|
2
|
0
|
5
|
my ($class, $c, $used_module, $raw_tokens) = @_; |
|
15
|
|
|
|
|
|
|
|
|
16
|
2
|
|
|
|
|
5
|
my $tokens = convert_string_tokens($raw_tokens); |
|
17
|
2
|
50
|
|
|
|
7
|
if (is_version($tokens->[0])) { |
|
18
|
0
|
|
|
|
|
0
|
$c->add($used_module => shift @$tokens); |
|
19
|
|
|
|
|
|
|
} |
|
20
|
2
|
|
|
|
|
5
|
my $module = $tokens->[0]; |
|
21
|
2
|
50
|
|
|
|
4
|
if (ref $module) { |
|
22
|
0
|
|
|
|
|
0
|
$module = $module->[0]; |
|
23
|
|
|
|
|
|
|
} |
|
24
|
2
|
50
|
|
|
|
5
|
if (is_module_name($module)) { |
|
25
|
2
|
|
|
|
|
6
|
$c->add_recommendation($module => 0); |
|
26
|
|
|
|
|
|
|
} |
|
27
|
|
|
|
|
|
|
} |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |