Condition Coverage

inc/Test/More.pm
Criterion Covered Total %
condition 13 42 30.9


and 3 conditions

line !l l&&!r l&&r condition
176 0 2 0 defined $item and $item eq 'no_diag'
663 1 0 0 @imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/
1001 0 0 0 defined $how_many and $how_many =~ /\D/
1221 0 55 62 $same_ref and $e1 eq $e2

or 2 conditions

line l !l condition
830 0 0 $$entry{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
464 0 0 0 ref $proto || $proto
785 0 12 0 @_ == 2 or @_ == 3
803 12 0 0 ref $got || ref $expected
1219 56 0 61 ref $e1 || ref $e2

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
803 0 0 0 12 not ref $got xor not ref $expected
1218 61 0 0 56 not ref $e1 xor not ref $e2
1221 117 0 0 0 defined $e1 xor defined $e2
0 0 0 117 $e1 == $DNE xor $e2 == $DNE