Condition Coverage

blib/lib/Device/Cisco/NXAPI.pm
Criterion Covered Total %
condition 3 14 21.4


or 2 conditions

line l !l condition
463 924 0 $_->[0] // ''
766 0 0 $json_content->{'error'}{'code'} // '<No Code>'
767 0 0 $json_content->{'error'}{'data'}{'msg'} // ''
770 0 0 $json_error_msg //= ''

or 3 conditions

line l !l&&r !l&&!r condition
75 5 0 0 $uri->scheme eq 'http' or $uri->scheme eq 'https'
185 12 0 0 {'ipv4', "show ip route vrf $args{'vrf'}", 'ipv6', "show ipv6 route vrf $args{'vrf'}"}->{$args{'af'}} // croak("Unknown address-family: $args{'af'}")