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 56568 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 2842 53737 if ($val =~ /^\s*([+-]?)(inf|nan)/i) { }
90 455 163 $1 eq '-' ? :
2224 618 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])