Condition Coverage

blib/lib/Net/Address/Ethernet.pm
Criterion Covered Total %
condition 6 26 23.0


and 3 conditions

line !l l&&!r l&&r condition
192 0 3 3 not $Net::Address::Ethernet::DEBUG and @ahInfo
198 3 0 0 defined $rh and scalar keys %$rh
272 0 0 0 defined $rh->{$key}{'status'} and $rh->{$key}{'status'} =~ /\A(1|UP)\z/i

or 2 conditions

line l !l condition
265 0 0 $rh->{$key}{'ether'} || ''
286 0 0 shift() || (return)
287 0 0 shift() || ''
291 0 0 hostname() || Net::Domain::hostname() || ''
292 0 0 Net::Domain::hostfqdn() || ''
301 0 0 $sHost ||= ''
337 19 4 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
190 0 0 6 $Net::Address::Ethernet::DEBUG ||= shift()