Branch Coverage

blib/lib/File/VirusScan.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
19 1 2 unless (exists $$conf{'engines'} and scalar keys %{$$conf{'engines'};})
31 1 1 if substr($backclass, 0, 1) eq '-'
34 1 1 if ($@)
43 0 1 if (exists $$conf{'order'}) { }
62 0 2 if ($@) { }
68 0 2 if (not $$self{'always_scan'} and $result->has_virus)