Condition Coverage

blib/lib/Socket/More/Resolver.pm
Criterion Covered Total %
condition 19 41 46.3


and 3 conditions

line !l l&&!r l&&r condition
355 2 0 0 $res[0] and $$entry[4]
0 0 2 not $res[0] and $$entry[3]
394 2 0 0 $error and $$entry[4]
0 0 2 not $error and $$entry[3]
474 20 1 9 $$_[0] and vec $bits, fileno $$_[1], 1
576 4 0 0 $res == -1 and $! == 10

or 2 conditions

line l !l condition
68 1 0 $options{'max_workers'} // 4
282 0 2 $_->{'flags'} // 0
0 2 $_->{'family'} // 0
0 2 $_->{'socktype'} // 0
0 2 $_->{'protocol'} // 0
362 0 42 $r[5] ||= undef
462 0 22 shift() // 0

or 3 conditions

line l !l&&r !l&&!r condition
105 0 0 1 $options{'loop_driver'} // ()
185 0 1 0 $fallback //= $index
199 7 2 0 $unspawned //= $index