blib/arch/Open/API/Install/Files.pm

filter: Statementstmt 83.3% 15 / 18 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 0.0% 0 / 2 totaltotal 70.8% 17 / 24 CC 1 SCAR 4.1
CC
1
Cov
80%
Inline
2.0
deps
1.0
CRAP 1.5
« blib/lib/Open/API/UI.pm ↑ Summary include/oa_client.h »
1 package Open::API::Install::Files;
2  
3 1 $self = {
4 'deps' => [
5 'Fetch',
6 'File::Raw',
7 'File::Raw::JSON',
8 'JSON::Schema::Fast',
9 'Tie::OrderedHash'
10 ],
11 'inc' => '',
12 'libs' => '',
13 'typemaps' => []
14 };
15  
16 1 @deps = @{ $self->{deps} };
17 1 @typemaps = @{ $self->{typemaps} };
18 1 $libs = $self->{libs};
19 1 $inc = $self->{inc};
20  
21 1 $CORE = undef;
22 1 foreach (@INC) {
23 1 ▶ if ( -f $_ . "/Open/API/Install/Files.pm") {
Branch: 1 branch
BranchTrueFalseTotal
if (-f $_ . '/Open/API/Install/Files.pm') 1 0 1
24 1 $CORE = $_ . "/Open/API/Install/";
25 1 last;
26 }
27 }
28  
29 1 ▶ sub deps { @{ $self->{deps} }; }
Subroutine deps: called CC=1 SCAR=0.0
Pod undocumented
30  
31 sub Inline {
32 0 ▶ my ($class, $lang) = @_;
Subroutine Inline: not called CC=1 SCAR=6.9
Pod undocumented
33 0 +{ map { (uc($_) => $self->{$_}) } qw(inc libs typemaps) };
34 }
35  
36 1 1;
« blib/lib/Open/API/UI.pm ↑ Summary include/oa_client.h »