Condition Coverage

blib/lib/JE/Object/Number.pm
Criterion Covered Total %
condition 20 37 54.0


and 2 conditions

line l !l condition
357 1 1 $num < 0 && '-'
415 1 1 $num < 0 && '-'

and 3 conditions

line !l l&&!r l&&r condition
63 11 0 242 defined blessed($val) && $val->can('to_number')
300 1 2 5 ($places = int $places->to_number) == $places && $places
362 1 2 3 0 + (($places = int $places->to_number) == $places) && $places
425 0 0 10 ($prec = int $prec->to_number) == $prec && $prec

or 3 conditions

line l !l&&r !l&&!r condition
58 253 0 0 $global->prototype_for('Number') || $global->prop('Number')->prop('prototype')
193 12 0 0 not defined $radix or $radix->id eq 'undef'
197 0 0 0 ($radix = $radix->to_number->value) == 10 or $radix < 2
0 0 0 ($radix = $radix->to_number->value) == 10 or $radix < 2 or $radix > 36
0 0 0 ($radix = $radix->to_number->value) == 10 or $radix < 2 or $radix > 36 or $radix =~ /\./
419 2 0 10 not defined $prec or $prec->id eq 'undef'
442 1 2 5 $e < -6 or $e >= $prec