Branch Coverage

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


line true false branch
18 1 5 unless ($conf->{'host'})
23 5 0 if ($conf->{'host'})
24 0 5 if ($conf->{'host'} =~ s/:(\d+)\Z//)
67 0 0 if ($abs and $abs ne $path)
74 0 0 if ($@)
81 0 0 unless ($result->is_clean)
94 0 0 if ($@)
106 0 0 unless ($sock->print("SCAN $options FILE $path\n"))
112 0 0 unless ($sock->flush)
119 0 0 unless ($s->can_read($self->{'read_timeout'}))
125 0 0 unless ($resp)
131 0 0 unless (($code, $desc, $name) = $resp =~ /\A(\d+)\s<(.*?)>\s(.*)\Z/)
155 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) { }
179 0 0 unless ($self->{'sock'})