Condition Coverage

blib/lib/JE.pm
Criterion Covered Total %
condition 33 45 73.3


and 3 conditions

line !l l&&!r l&&r condition
514 176 88 2423 $radix == $radix and $radix != $radix + 1
632 5 2 5 defined $val && ($val = $val->to_number->value) == $val && $val + 1 != $val
1448 12 2 0 defined $constructor and $constructor->typeof ne 'function'
1878 0 0 3 not ref $opts{'hash'} and $opts{'hash'} =~ /^(?:1|(2))/

or 2 conditions

line l !l condition
1742 0 1 $class{'props'} ||= \%props
1744 0 1 $$$self{'classes_by_name'}{$super}{'props'} || (last)
1894 0 3 $class{'keys'} ||= sub { keys %{$_[0];}; }

or 3 conditions

line l !l&&r !l&&!r condition
484 3 98 0 $JE::Code::parser || $self
526 2201 486 0 $radix ||= $str =~ /^0x/i ? 16 : 10
533 598 46 2043 $radix < 2 or $radix > 36
615 1 92 6 !defined($_[0]) || (shift())->to_number->id eq 'num:nan'
943 5 0 14911 $_ eq '0' || $_ eq '-0'
1410 34 2 0 $$$self{'proxy_cache'} ||= &fieldhash({})
1451 2 33 0 $constructor || $self->prop({'name', $class, 'value', $constructor = 'JE::Object::Function'->new({'name', $class, 'scope', $self, 'function', $coderef, 'function_args', ['args'], 'constructor', $coderef, 'constructor_args', ['args']})})
1469 1 1 1 !defined($isa) || defined blessed($isa)
2079 20149 117 0 $$$self{'pf'}{$class} || ($self->prop($class) || (return undef))->prop('prototype')