Condition Coverage

inc/Test/More.pm
Criterion Covered Total %
condition 13 39 33.3


and 3 conditions

line !l l&&!r l&&r condition
176 0 8 0 defined $item and $item eq 'no_diag'
660 1 0 0 @imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/
1212 0 9 22 $same_ref and $e1 eq $e2

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
464 0 0 0 ref $proto || $proto
781 3 0 0 @_ == 2 or @_ == 3
799 3 0 0 ref $this || ref $that
1210 9 0 22 ref $e1 || ref $e2

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
799 0 0 0 3 not ref $this xor not ref $that
1209 22 0 0 9 not ref $e1 xor not ref $e2
1212 31 0 0 0 defined $e1 xor defined $e2
0 0 0 31 $e1 == $DNE xor $e2 == $DNE