Condition Coverage

inc/Test/More.pm
Criterion Covered Total %
condition 14 46 30.4


and 3 conditions

line !l l&&!r l&&r condition
176 0 10 0 defined $item and $item eq 'no_diag'
702 1 0 0 @imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/
1104 0 0 0 defined $how_many and $how_many =~ /\D/
1324 0 1 3 $same_ref and $e1 eq $e2

or 2 conditions

line l !l condition
597 0 0 $args ||= []
746 0 1 $SIG{'__DIE__'} || undef
896 0 0 $$entry{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
461 0 0 0 ref $proto || $proto
851 3 0 0 @_ == 2 or @_ == 3
869 3 0 0 ref $got || ref $expected
1322 3 0 1 ref $e1 || ref $e2

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
869 0 0 0 3 not ref $got xor not ref $expected
1321 1 0 0 3 not ref $e1 xor not ref $e2
1324 4 0 0 0 defined $e1 xor defined $e2
0 0 0 4 _dne($e1) xor _dne($e2)