Condition Coverage

blib/lib/Sys/HostIP.pm
Criterion Covered Total %
condition 15 18 83.3


and 3 conditions

line !l l&&!r l&&r condition
222 16 0 48 $line =~ /^\s+/x and $interface
291 1134 0 102 $line =~ /$regexes{'address'}/ and defined $interface

or 2 conditions

line l !l condition
46 14 16 shift() || 'Sys::HostIP'
81 14 14 shift() || 'Sys::HostIP'
91 14 14 shift() || 'Sys::HostIP'

or 3 conditions

line l !l&&r !l&&!r condition
25 0 5 36 $self->{'ifconfig'} ||= $IS_WIN ? '' : $self->_get_ifconfig_binary
26 14 26 1 $self->{'if_info'} ||= $self->_get_interface_info