Condition Coverage

blib/lib/Sys/HostAddr.pm
Criterion Covered Total %
condition 21 63 33.3


and 3 conditions

line !l l&&!r l&&r condition
95 16 0 2 /^([a-z0-9]+(?::[0-9]+)?):?\s+/ and $^O ne 'MSWin32'
16 0 2 /^([a-z0-9]+(?::[0-9]+)?):?\s+/ and $^O ne 'MSWin32' and $^O ne 'cygwin'
132 16 0 2 $line =~ /^([a-z0-9]+(?::[0-9]+)?):?\s+/ and $^O ne 'MSWin32'
16 0 2 $line =~ /^([a-z0-9]+(?::[0-9]+)?):?\s+/ and $^O ne 'MSWin32' and $^O ne 'cygwin'
136 0 0 0 $$self{'ipv'} eq '6' and $line =~ m[(/\d{1,3})$]
204 4 0 0 $$self{'ipv'} eq '6' and $^O eq 'solaris'
215 0 0 0 $^O ne 'MSWin32' and $^O ne 'cygwin'
1 0 0 $method eq 'preferred' and ($^O ne 'MSWin32' and $^O ne 'cygwin')
289 1 0 0 ($^O eq 'MSWin32' || $^O eq 'cygwin') && $$self{'ipv'} eq '6'

or 2 conditions

line l !l condition
203 0 4 $getint || '-a'
213 0 1 shift() || 'auto'
297 4 0 shift() || die("get_stdout syntax error1\n")

or 3 conditions

line l !l&&r !l&&!r condition
106 0 0 1 shift() || $$self{'interface'}
126 0 0 1 shift() || $$self{'interface'}
169 0 0 1 shift() || $$self{'interface'}
195 0 0 4 shift() || $$self{'interface'}
198 0 0 4 $^O eq 'MSWin32' or $^O eq 'cygwin'
222 0 1 0 $method eq 'dns' or $method eq 'auto'
245 0 0 0 $method eq 'route' or $method eq 'auto'
272 0 0 0 $^O eq 'MSWin32' or $^O eq 'cygwin'
273 0 0 0 $method eq 'preferred' or $method eq 'auto'
289 0 0 1 $^O eq 'MSWin32' || $^O eq 'cygwin'