Branch Coverage

blib/lib/Mail/IspMailGate/Filter/VirScan.pm
Criterion Covered Total %
branch 19 34 55.8


line true false branch
88 0 8 unless (mkdir $dir, 448)
117 0 18 unless (opendir $dirHandle, $dir)
122 36 96 if ($file eq '.' or $file eq '..')
126 10 86 if (-d $file) { }
86 0 elsif (-f _) { }
166 0 8 if ($$deflater{'extension'})
172 16 0 exists $$cfg{$1} ? :
16 16 exists $patterns{$1} ? :
201 0 0 $result ? :
229 0 124 if ($file =~ /[\000-\037]/)
237 8 348 if ($file =~ /$$deflater{'pattern'}/)
246 116 8 if (defined $file)
251 38 0 if (@simpleFiles)
255 38 0 if ($cmd =~ /\$ipaths/) { }
262 0 0 exists $$cfg{$1} ? :
271 0 0 exists $$cfg{$1} ? :
308 0 38 if ($ret = $self->SUPER::filterFile($attr))