line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pegex::CPAN::Packages::Data; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
4
|
use Pegex::Base; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
extends 'Pegex::Tree'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
has data => {}; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub final { |
9
|
1
|
|
|
1
|
1
|
165
|
my ($self, $got) = @_; |
10
|
1
|
|
|
|
|
7
|
return $self->data; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub got_meta_section { |
14
|
1
|
|
|
1
|
0
|
78057
|
my ($self, $got) = @_; |
15
|
1
|
|
|
|
|
3
|
$self->{data}{meta} = { map { @$_ } @$got }; |
|
8
|
|
|
|
|
38
|
|
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub got_index_line { |
19
|
144806
|
|
|
144806
|
0
|
37096934
|
my ($self, $got) = @_; |
20
|
|
|
|
|
|
|
|
21
|
144806
|
|
|
|
|
289755
|
my ( $package, $version, $distribution ) = @$got; |
22
|
|
|
|
|
|
|
|
23
|
144806
|
100
|
|
|
|
1387226
|
$self->{data}{index}{$distribution}{$package} = |
24
|
|
|
|
|
|
|
'undef' eq $version |
25
|
|
|
|
|
|
|
? undef |
26
|
|
|
|
|
|
|
: $version; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |