blib/arch/Fetch/Install/Files.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
deps
2.0
Inline
2.0
CRAP 2.0
1 package Fetch::Install::Files;
2  
3 $self = {
4 'deps' => [
5 'File::Raw',
6 'File::Raw::JSON',
7 'Tie::OrderedHash'
8 ],
9 'inc' => '',
10 'libs' => '',
11 'typemaps' => []
12 };
13  
14 @deps = @{ $self->{deps} };
15 @typemaps = @{ $self->{typemaps} };
16 $libs = $self->{libs};
17 $inc = $self->{inc};
18  
19 $CORE = undef;
20 foreach (@INC) {
21 if ( -f $_ . "/Fetch/Install/Files.pm") {
22 $CORE = $_ . "/Fetch/Install/";
23 last;
24 }
25 }
26  
27 sub deps { @{ $self->{deps} }; }
28  
29 sub Inline {
30 my ($class, $lang) = @_;
31 +{ map { (uc($_) => $self->{$_}) } qw(inc libs typemaps) };
32 }
33  
34 1;