Branch Coverage

blib/lib/BGPmon/Fetch/Client.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
151 0 0 if ($connected == 1)
160 0 0 unless (defined $sock)
172 0 0 if (scalar @ready > 0)
174 0 0 unless (defined $data)
181 0 0 if ($data ne '')
216 0 0 unless ($connected == 1)
227 0 0 if (scalar @ready > 0)
230 0 0 unless (defined $bytesread)
236 0 0 if ($bytesread == 0)
246 0 0 unless ($read_buffer =~ /[[:print:]]/u)
253 0 0 if ($read_buffer =~ /^()/u) { }
278 0 0 if ($sock)
312 0 0 if ($connected)
327 0 0 if ($connected)
344 0 0 if ($bytesneeded < 0)
354 0 0 unless (defined $bytesread)
359 0 0 if ($bytesread == 0)
382 0 0 unless (defined $function)
386 0 0 if defined $error_code{$function}
402 0 0 unless (defined $function)
406 0 0 if defined $error_msg{$function}