Condition Coverage

inc/Test/More.pm
Criterion Covered Total %
condition 14 42 33.3


and 3 conditions

line !l l&&!r l&&r condition
175 0 76 0 defined $item and $item eq 'no_diag'
661 1 0 0 @imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/
1023 0 0 0 defined $how_many and $how_many =~ /\D/
1243 0 66 252 $same_ref and $e1 eq $e2

or 2 conditions

line l !l condition
852 0 0 $entry->{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
463 0 0 0 ref $proto || $proto
807 62 0 0 @_ == 2 or @_ == 3
825 62 0 0 ref $got || ref $expected
1241 66 0 252 ref $e1 || ref $e2

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
825 0 0 0 62 not ref $got xor not ref $expected
1240 252 0 0 66 not ref $e1 xor not ref $e2
1243 168 0 0 150 defined $e1 xor defined $e2
0 0 0 318 _dne($e1) xor _dne($e2)