line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Perl::PrereqScanner::NotQuiteLite::Parser::Prefork; |
2
|
|
|
|
|
|
|
|
3
|
82
|
|
|
82
|
|
1145
|
use strict; |
|
82
|
|
|
|
|
148
|
|
|
82
|
|
|
|
|
1818
|
|
4
|
82
|
|
|
82
|
|
324
|
use warnings; |
|
82
|
|
|
|
|
145
|
|
|
82
|
|
|
|
|
1747
|
|
5
|
82
|
|
|
82
|
|
369
|
use Perl::PrereqScanner::NotQuiteLite::Util; |
|
82
|
|
|
|
|
178
|
|
|
82
|
|
|
|
|
16738
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub register { return { |
8
|
81
|
|
|
81
|
0
|
377
|
use => { |
9
|
|
|
|
|
|
|
prefork => 'parse_prefork_args', |
10
|
|
|
|
|
|
|
}, |
11
|
|
|
|
|
|
|
}} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub parse_prefork_args { |
14
|
1
|
|
|
1
|
0
|
3
|
my ($class, $c, $used_module, $raw_tokens) = @_; |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
|
|
10
|
my $tokens = convert_string_tokens($raw_tokens); |
17
|
1
|
50
|
|
|
|
9
|
if (is_version($tokens->[0])) { |
18
|
0
|
|
|
|
|
0
|
$c->add($used_module => shift @$tokens); |
19
|
|
|
|
|
|
|
} |
20
|
1
|
|
|
|
|
2
|
my $module = $tokens->[0]; |
21
|
1
|
50
|
|
|
|
3
|
if (ref $module) { |
22
|
0
|
|
|
|
|
0
|
$module = $module->[0]; |
23
|
|
|
|
|
|
|
} |
24
|
1
|
50
|
|
|
|
3
|
if (is_module_name($module)) { |
25
|
1
|
|
|
|
|
3
|
$c->add($module => 0); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |