Branch Coverage

blib/lib/File/VirusScan/Engine/Daemon/Sophos/Sophie.pm
Criterion Covered Total %
branch 3 20 15.0


line true false branch
19 1 7 unless ($conf->{'socket_name'})
33 1 0 unless (defined $sock)
45 0 0 if ($abs and $abs ne $path)
50 0 0 if ($@)
54 0 0 unless ($sock->print("$path\n"))
59 0 0 unless ($sock->flush)
68 0 0 unless ($rc)
72 0 0 if ($scan_response =~ /^0/)
76 0 0 if ($scan_response =~ /^1/)
82 0 0 if ($scan_response =~ /^-1:(.*)$/)