Condition Coverage

blib/lib/Net/Address/Ethernet.pm
Criterion Covered Total %
condition 5 26 19.2


and 3 conditions

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

or 2 conditions

line l !l condition
217 0 0 $rh->{$key}{'ether'} || ''
238 0 0 shift() || (return)
239 0 0 shift() || ''
243 0 0 hostname() || Net::Domain::hostname() || ''
244 0 0 Net::Domain::hostfqdn() || ''
253 0 0 $sHost ||= ''
289 14 6 shift() || ''

or 3 conditions

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