Branch Coverage

blib/lib/File/VirusScan/Engine/Daemon/Symantec/CSS.pm
Criterion Covered Total %
branch 4 46 8.7


line true false branch
19 1 8 unless ($$conf{'host'})
40 5 0 unless (defined $sock)
46 0 0 unless ($line =~ /^220/)
52 0 0 unless ($line eq '2')
64 1 0 if (abs_path($path) ne $path)
69 0 0 if ($@)
74 0 0 $$self{'is_local'} ? :
78 0 0 unless ($result->is_clean)
89 0 0 if ($@)
93 0 0 unless ($sock->print("Version2\nAVSCANLOCAL\n$path\n"))
99 0 0 unless ($sock->flush)
115 0 0 unless (defined $size)
120 0 0 if ($@)
124 0 0 unless ($sock->print("Version2\nAVSCAN\n$path\n$size\n"))
131 0 0 unless ($fh)
137 0 0 $size < 8192 ? :
144 0 0 unless (defined $nread)
150 0 0 if $nread == 0
152 0 0 unless ($sock->print($chunk))
161 0 0 if ($size > 0)
167 0 0 unless ($sock->flush)
185 0 0 unless ($line =~ /^230/)
191 0 0 if ($line eq '0')