blib/lib/File/VirusScan/Engine/Daemon/Sophos/Sophie.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 20 | 20.0 |
line | true | false | branch |
---|---|---|---|
19 | 1 | 8 | unless ($$conf{'socket_name'}) |
33 | 1 | 0 | unless (defined $sock) |
44 | 1 | 0 | if (abs_path($path) ne $path) |
49 | 0 | 0 | if ($@) |
53 | 0 | 0 | unless ($sock->print("$path\n")) |
58 | 0 | 0 | unless ($sock->flush) |
67 | 0 | 0 | unless ($rc) |
71 | 0 | 0 | if ($scan_response =~ /^0/) |
75 | 0 | 0 | if ($scan_response =~ /^1/) |
81 | 0 | 0 | if ($scan_response =~ /^-1:(.*)$/) |