Condition Coverage

blib/lib/UnderscoreJS.pm
Criterion Covered Total %
condition 43 65 66.1


and 2 conditions

line l !l condition
636 2 1 0 $max < $#$_ and $max = $#$_

and 3 conditions

line !l l&&!r l&&r condition
108 285 100 3 not $initial and defined $_
701 0 1 1 defined $$self{'args'} and @{$$self{'args'};}
835 3 1 1 ref $object and ref $object eq 'HASH'
844 0 0 1 ref $object and ref $object eq 'HASH'
853 0 0 1 ref $object and ref $object eq 'HASH'
857 1 1 2 ref $$object{$_} and ref $$object{$_} eq 'CODE'
941 1 0 3 defined $object and ref $object
1 0 3 defined $object and ref $object and ref $object eq 'ARRAY'
952 0 0 2 defined $object and not ref $object
965 1 0 4 defined $object and not ref $object
983 0 1 2 defined $object and ref $object
1 1 1 defined $object and ref $object and ref $object eq 'CODE'
994 0 0 2 defined $object and ref $object
0 1 1 defined $object and ref $object and ref $object eq 'Regexp'
1016 5 2 0 &Scalar::Util::blessed($object) and $object->isa('UnderscoreJS::_True') || $object->isa('UnderscoreJS::_False')
1040 0 320 30 defined $$self{'args'} and @{$$self{'args'};}

or 2 conditions

line l !l condition
19 1 6 $options{-'as'} || '_'

or 3 conditions

line l !l&&r !l&&!r condition
101 20 0 2 defined $array or defined $memo
126 3 0 2 defined $array or defined $memo
371 0 0 1 $$list[$mid] == $value or $min > $max
1016 1 1 0 $object->isa('UnderscoreJS::_True') || $object->isa('UnderscoreJS::_False')