Branch Coverage

blib/lib/Net/SNMP/Mixin/InetCidrRouteTable.pm
Criterion Covered Total %
branch 12 40 30.0


line true false branch
203 1 0 unless $session->init_ok($prefix)
286 0 2 if exists get_init_slot($session)->{$prefix} and get_init_slot($session)->{$prefix} == 0 and not $reload
296 2 2 if $session->error
316 2 2 $session->nonblocking ? :
324 2 2 unless (defined $result)
325 2 0 if (my $err_msg = $session->error)
332 2 0 if $session->nonblocking
350 2 0 unless (defined $vbl)
351 2 0 if (my $err_msg = $session->error)
481 0 0 if defined $rt_prefix
491 0 0 if ($address_type_enum{$type} eq 'unknown')
493 0 0 if $len != 0
498 0 0 if ($address_type_enum{$type} eq 'ipv4')
500 0 0 if $len != 4
507 0 0 if ($address_type_enum{$type} eq 'ipv6')
509 0 0 if $len != 16
517 0 0 if ($address_type_enum{$type} eq 'ipv4z')
519 0 0 if $len != 8
531 0 0 if ($address_type_enum{$type} eq 'ipv6z')
533 0 0 if $len != 20