Branch Coverage

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


line true false branch
19 1 7 unless ($conf->{'host'})
40 5 0 unless (defined $sock)
46 0 0 unless ($line =~ /^220/)
52 0 0 unless ($line eq 2)
65 0 0 if ($abs and $abs ne $path)
70 0 0 if ($@)
77 0 0 $self->{'is_local'} ? :
79 0 0 unless ($result->is_clean)
90 0 0 if ($@)
94 0 0 unless ($sock->print("Version2\nAVSCANLOCAL\n$path\n"))
100 0 0 unless ($sock->flush)
116 0 0 unless (defined $size)
121 0 0 if ($@)
125 0 0 unless ($sock->print("Version2\nAVSCAN\n$path\n$size\n"))
132 0 0 unless ($fh)
138 0 0 $size < 8192 ? :
145 0 0 unless (defined $nread)
151 0 0 if $nread == 0
153 0 0 unless ($sock->print($chunk))
162 0 0 if ($size > 0)
168 0 0 unless ($sock->flush)
186 0 0 unless ($line =~ /^230/)
192 0 0 if ($line eq 0)