Condition Coverage

blib/lib/Math/JS.pm
Criterion Covered Total %
condition 39 51 76.4


and 3 conditions

line !l l&&!r l&&r condition
10 5 0 0 not $@ and $Math::Ryu::VERSION >= "0.06"
68 0 0 1484 not ref $_[0] and $_[0] eq "Math::JS"
212 0 0 0 $_[1]{'val'} < 0 and $val0 != int $val0
217 0 0 0 $val0 < 0 and $_[1]{'val'} != int $_[1]{'val'}
353 2 209 21 $val < "1e+21" and $val == int $val
478 84 3 16 $_[1] < 0 and $shift
503 235 3 16 $_[1] < 0 and $shift
514 0 111 119 $type eq "sint32" and $val < 0
542 78 0 37 $_[1] < 0 and $shift
571 120 108 1 $integer <= 4294967295 and $integer >= '-2147483648'

or 3 conditions

line l !l&&r !l&&!r condition
190 2 1 112 _infnan($num) or _isnan($den)
3 2 110 _infnan($num) or _isnan($den) or $den == 0
192 3 1 106 _isinf($den) or $num == 0
514 24 119 111 $type eq "uint32" or $type eq "sint32" and $val < 0
592 129 98 1820 $val > 4294967295 or $val < '-2147483648'
600 31 31 372 $val == $inf or $val == -$inf
62 30 342 $val == $inf or $val == -$inf or $val != $val