line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Linux::Perl::EasyPack; |
2
|
|
|
|
|
|
|
|
3
|
8
|
|
|
8
|
|
49
|
use strict; |
|
8
|
|
|
|
|
15
|
|
|
8
|
|
|
|
|
193
|
|
4
|
8
|
|
|
8
|
|
28
|
use warnings; |
|
8
|
|
|
|
|
15
|
|
|
8
|
|
|
|
|
1003
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
#Do not use in external code. This interface may change. |
7
|
|
|
|
|
|
|
sub split_pack_list { |
8
|
10
|
|
|
10
|
0
|
44
|
my (@array) = @_; |
9
|
|
|
|
|
|
|
|
10
|
10
|
|
|
|
|
18
|
my $pack = q<>; |
11
|
10
|
|
|
|
|
16
|
my @keys; |
12
|
|
|
|
|
|
|
|
13
|
10
|
|
|
|
|
31
|
for my $i (0 .. $#array) { |
14
|
100
|
100
|
|
|
|
147
|
if ($i % 2) { |
15
|
50
|
100
|
|
|
|
84
|
if (index($array[$i], 'x') == 0) { |
16
|
2
|
|
|
|
|
5
|
pop @keys; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
50
|
|
|
|
|
72
|
$pack .= $array[$i]; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
else { |
22
|
50
|
|
|
|
|
97
|
push @keys, $array[$i]; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
10
|
|
|
|
|
1158
|
return \@keys, $pack; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |