Branch Coverage

blib/lib/JE/Number.pm
Criterion Covered Total %
branch 33 36 91.6


line true false branch
42 37857 85 $value == $value ? :
0 37942 $value == -9**9**9 ? :
3 37942 $value == 9**9**9 ? :
50 3225 108 if $value
72 49 56590 if (defined blessed($val) and $val->can('to_number'))
74 48 1 if ref $new_val eq $class
75 1 0 if eval { do { $new_val->isa('JE::Number') } }
89 2844 53757 if ($val =~ /^\s*([+-]?)(inf|nan)/i) { }
90 455 164 $1 eq '-' ? :
2225 619 lc $2 eq 'nan' ? :
98 1 48 if (@_ > 2)
132 47 18010 $value == -9**9**9 ? :
69 18057 $value == 9**9**9 ? :
2912 18126 $value != $value ? :
150 11993 396 $value == $value ? :
394 12389 $value == -9**9**9 ? :
397 12783 $value == 9**9**9 ? :
169 31 0 if tainted($$self[0])