Condition Coverage

inc/Test/More.pm
Criterion Covered Total %
condition 16 42 38.1


and 3 conditions

line !l l&&!r l&&r condition
176 0 16 0 defined $item and $item eq 'no_diag'
663 1 0 0 @imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/
1007 0 0 0 defined $how_many and $how_many =~ /\D/
1227 0 14 21 $same_ref and $e1 eq $e2

or 2 conditions

line l !l condition
836 2 1 $$entry{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
464 19 0 0 ref $proto || $proto
791 0 9 0 @_ == 2 or @_ == 3
809 9 0 0 ref $got || ref $expected
1225 13 0 22 ref $e1 || ref $e2

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
809 0 0 0 9 not ref $got xor not ref $expected
1224 22 0 0 13 not ref $e1 xor not ref $e2
1227 35 0 0 0 defined $e1 xor defined $e2
0 0 0 35 _dne($e1) xor _dne($e2)