line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Perl::PrereqScanner::NotQuiteLite::Parser::POE; |
2
|
|
|
|
|
|
|
|
3
|
82
|
|
|
82
|
|
1390
|
use strict; |
|
82
|
|
|
|
|
148
|
|
|
82
|
|
|
|
|
1905
|
|
4
|
82
|
|
|
82
|
|
313
|
use warnings; |
|
82
|
|
|
|
|
146
|
|
|
82
|
|
|
|
|
1479
|
|
5
|
82
|
|
|
82
|
|
415
|
use Perl::PrereqScanner::NotQuiteLite::Util; |
|
82
|
|
|
|
|
142
|
|
|
82
|
|
|
|
|
16526
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub register { return { |
8
|
81
|
|
|
81
|
0
|
415
|
use => { |
9
|
|
|
|
|
|
|
POE => 'parse_poe_args', |
10
|
|
|
|
|
|
|
}, |
11
|
|
|
|
|
|
|
}} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub parse_poe_args { |
14
|
2
|
|
|
2
|
0
|
6
|
my ($class, $c, $used_module, $raw_tokens) = @_; |
15
|
2
|
|
|
|
|
7
|
my $tokens = convert_string_tokens($raw_tokens); |
16
|
2
|
50
|
|
|
|
7
|
if (is_version($tokens->[0])) { |
17
|
0
|
|
|
|
|
0
|
$c->add($used_module => shift @$tokens); |
18
|
|
|
|
|
|
|
} |
19
|
2
|
50
|
|
|
|
7
|
$c->add($_ eq "POE" ? $_ : "POE::".$_ => 0) for grep {!ref $_} @$tokens; |
|
3
|
|
|
|
|
13
|
|
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |