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
216 16 0 48 $line =~ /^\s+/x and $interface
281 918 0 84 $line =~ /$regexes{'address'}/ and defined $interface

or 2 conditions

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

or 3 conditions

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