Condition Coverage

blib/lib/Number/Closest/NonOO.pm
Criterion Covered Total %
condition 21 33 63.6


and 3 conditions

line !l l&&!r l&&r condition
30 14 0 0 $nan eq 'exclude' and $inf eq 'exclude'
32 0 0 0 &looks_like_number($_) and $_ != 'inf'
37 0 0 0 $l and $l != 36
44 0 0 0 $_ != 'inf' && $_ != '-inf'
53 23 6 1 $num == 9**9**9 and $_ == 9**9**9
23 5 1 $num == 9**9**9 and $_ == -9**9**9
21 6 1 $num == -9**9**9 and $_ == 9**9**9
21 5 1 $num == -9**9**9 and $_ == -9**9**9

or 2 conditions

line l !l condition
27 0 14 $args{'nan'} // 'nothing'
28 6 8 $args{'inf'} // 'nothing'
73 8 6 $args{'items'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
65 17 15 8 $Number::Closest::NonOO::a->[1] <=> $Number::Closest::NonOO::b->[1] or $Number::Closest::NonOO::a->[2] <=> $Number::Closest::NonOO::b->[2]