Branch Coverage

blib/lib/Mail/IspMailGate/Filter/Packer.pm
Criterion Covered Total %
branch 13 30 43.3


line true false branch
33 2 2 unless ($self->SUPER::mustFilter($entity))
40 0 2 if ($direction eq 'neg') { }
42 0 0 unless defined $prevPack
43 0 0 if (exists $$cfg{'packer'}{$prevPack}) { }
74 0 2 if ($direction eq 'neg')
111 0 6 if ($ret = $self->SUPER::filterFile($attr))
124 0 6 unless (defined $packer and defined $direction)
127 0 6 unless exists $$cfg{'packer'}{$packer}
132 0 6 if ($ret = system("$cmd " . quotemeta($ifile) . ' >' . quotemeta($ofile))) { }
161 0 6 unless (defined $actuEnc)
165 0 6 unless (defined $prevEnc)
170 0 6 if ($direction eq 'neg') { }
171 0 0 if ($prevEnc) { }
180 6 0 if ($actuEnc) { }
195 2 0 if $cmp->isa('Mail::IspMailGate::Filter::Packer')