blib/arch/JSON/Schema/Fast/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 JSON::Schema::Fast::Install::Files;
2  
3 $self = {
4 'deps' => [
5 'Fetch',
6 'File::Raw',
7 'File::Raw::JSON',
8 'Tie::OrderedHash'
9 ],
10 'inc' => '',
11 'libs' => '',
12 'typemaps' => []
13 };
14  
15 @deps = @{ $self->{deps} };
16 @typemaps = @{ $self->{typemaps} };
17 $libs = $self->{libs};
18 $inc = $self->{inc};
19  
20 $CORE = undef;
21 foreach (@INC) {
22 if ( -f $_ . "/JSON/Schema/Fast/Install/Files.pm") {
23 $CORE = $_ . "/JSON/Schema/Fast/Install/";
24 last;
25 }
26 }
27  
28 sub deps { @{ $self->{deps} }; }
29  
30 sub Inline {
31 my ($class, $lang) = @_;
32 +{ map { (uc($_) => $self->{$_}) } qw(inc libs typemaps) };
33 }
34  
35 1;