blib/lib/Net/Address/Ethernet.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 26 | 57.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
191 | 0 | 3 | 3 | not $Net::Address::Ethernet::DEBUG and @ahInfo |
197 | 0 | 3 | 0 | defined $rh and scalar keys %$rh |
224 | 0 | 0 | 6 | defined $rh->{$key}{'status'} and $rh->{$key}{'status'} =~ /\A(1|UP)\z/i |
line | l | !l | condition |
---|---|---|---|
217 | 3 | 3 | $rh->{$key}{'ether'} || '' |
238 | 3 | 0 | shift() || (return) |
239 | 3 | 0 | shift() || '' |
243 | 3 | 0 | hostname() || Net::Domain::hostname() || '' |
244 | 3 | 0 | Net::Domain::hostfqdn() || '' |
253 | 6 | 3 | $sHost ||= '' |
289 | 19 | 7 | shift() || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
189 | 0 | 0 | 6 | $Net::Address::Ethernet::DEBUG ||= shift() |