Branch Coverage

blib/lib/Mango/BSON/Number.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
20 0 14 if ($type ne &Mango::BSON::DOUBLE() and $type ne &Mango::BSON::INT32() and $type ne &Mango::BSON::INT64())
39 26 21 if ($flags & 12288)
40 3 3 if (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)
55 23 24 if (my $flags = isa_number($value))
57 8 15 if $flags & 8192
60 13 2 if $value <= 2147483647 and $value >= -2147483647