Branch Coverage

blib/lib/File/VirusScan/Engine/Daemon/FPROT/V6.pm
Criterion Covered Total %
branch 5 36 13.8


line true false branch
18 1 6 unless ($$conf{'host'})
23 6 0 if ($$conf{'host'})
24 0 6 if ($$conf{'host'} =~ s/:(\d+)\Z//)
66 1 0 if (abs_path($path) ne $path)
73 0 0 if ($@)
80 0 0 unless ($result->is_clean)
93 0 0 if ($@)
105 0 0 unless ($sock->print("SCAN $options FILE $path\n"))
111 0 0 unless ($sock->flush)
118 0 0 unless ($s->can_read($$self{'read_timeout'}))
124 0 0 unless ($resp)
130 0 0 unless (($code, $desc, $name) = $resp =~ /\A(\d+)\s<(.*?)>\s(.*)\Z/)
154 0 0 if ($code & 129) { }
0 0 elsif ($code & 2) { }
0 0 elsif ($code & 4) { }
0 0 elsif ($code & 16) { }
0 0 elsif ($code & 32) { }
178 0 0 unless ($$self{'sock'})