Condition Coverage

blib/lib/Sys/HostIP.pm
Criterion Covered Total %
condition 10 21 47.6


and 3 conditions

line !l l&&!r l&&r condition
203 0 0 0 $line =~ /^\s+/ and $interface
263 153 0 14 $line =~ /$regexes{'address'}/ and defined $interface

or 2 conditions

line l !l condition
43 1 1 shift() || 'Sys::HostIP'
81 1 0 shift() || 'Sys::HostIP'
91 1 0 shift() || 'Sys::HostIP'

or 3 conditions

line l !l&&r !l&&!r condition
17 3 0 0 shift() || croak('Cannot create new method in a functional way')
22 0 3 0 $self->{'ifconfig'} ||= $is_win ? '' : $self->_get_ifconfig_binary
23 0 2 1 $self->{'if_info'} ||= $self->_get_interface_info