Condition Coverage

blib/lib/Hardware/PortScanner.pm
Criterion Covered Total %
condition 3 20 15.0


and 3 conditions

line !l l&&!r l&&r condition
273 0 0 0 /^\d+$/ and $_ > 0
0 0 0 /^\d+$/ and $_ > 0 and $_ <= 50
354 0 1 0 exists $$config{'TEST_STRING'} and exists $$config{'VALID_REPLY_RE'}
596 0 0 0 $value =~ /^\d+$/ and $value > 0
0 0 0 $value =~ /^\d+$/ and $value > 0 and $value <= 50

or 2 conditions

line l !l condition
99 0 20 shift() || 1

or 3 conditions

line l !l&&r !l&&!r condition
313 0 0 1 $value =~ /^\d+$/ or $value =~ /^\d+[.]\d+$/