blib/arch/Context/Vars/Install/Files.pm

filter: Statementstmt 72.2% 13 / 18 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 2 totaltotal 58.3% 14 / 24 CC 1 SCAR 6.9
CC
1
Cov
70%
deps
2.0
Inline
2.0
CRAP 2.0
↑ Summary include/context_vars/context_vars_faa.h »
1 package Context::Vars::Install::Files;
2  
3 2 $self = {
4 'deps' => [
5 'HAMT'
6 ],
7 'inc' => '',
8 'libs' => '',
9 'typemaps' => []
10 };
11  
12 2 @deps = @{ $self->{deps} };
13 2 @typemaps = @{ $self->{typemaps} };
14 2 $libs = $self->{libs};
15 2 $inc = $self->{inc};
16  
17 2 $CORE = undef;
18 2 foreach (@INC) {
19 2 ▶ if ( -f $_ . "/Context/Vars/Install/Files.pm") {
Branch: 1 branch
BranchTrueFalseTotal
if (-f $_ . '/Context/Vars/Install/Files.pm') 2 0 2
20 2 $CORE = $_ . "/Context/Vars/Install/";
21 2 last;
22 }
23 }
24  
25 0 ▶ sub deps { @{ $self->{deps} }; }
Subroutine deps: not called CC=1 SCAR=6.9
Pod undocumented
26  
27 0 ▶ sub Inline {
Subroutine Inline: not called CC=1 SCAR=6.9
Pod undocumented
28 0 my ($class, $lang) = @_;
29 0 +{ map { (uc($_) => $self->{$_}) } qw(inc libs typemaps) };
30 }
31  
32 2 1;
↑ Summary include/context_vars/context_vars_faa.h »