blib/arch/ClamAV/Clamd/Install/Files.pm

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