Condition Coverage

blib/lib/Mango/BSON/Number.pm
Criterion Covered Total %
condition 22 26 84.6


and 3 conditions

line !l l&&!r l&&r condition
20 3 7 7 $type ne &Mango::BSON::DOUBLE() and $type ne &Mango::BSON::INT32()
10 7 0 $type ne &Mango::BSON::DOUBLE() and $type ne &Mango::BSON::INT32() and $type ne &Mango::BSON::INT64()
40 3 4 19 0 + $value eq $value and $value * 0 == 0
60 1 1 13 $value <= 2147483647 and $value >= -2147483647

or 2 conditions

line l !l condition
17 17 0 $value //= 0

or 3 conditions

line l !l&&r !l&&!r condition
18 17 0 0 $type //= &Mango::BSON::DOUBLE()
40 19 1 6 0 + $value eq $value and $value * 0 == 0 or -sin(9**9**9) eq $value
20 2 4 0 + $value eq $value and $value * 0 == 0 or -sin(9**9**9) eq $value or 9**9**9 eq $value
3 1 3 0 + $value eq $value and $value * 0 == 0 or -sin(9**9**9) eq $value or 9**9**9 eq $value or -9**9**9 eq $value