Condition Coverage

inc/Test/More.pm
Criterion Covered Total %
condition 21 55 38.1


and 3 conditions

line !l l&&!r l&&r condition
182 0 2 0 defined $item and $item eq 'no_diag'
832 1 0 0 @imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/
1234 0 0 0 defined $how_many and $how_many =~ /\D/
1440 0 1 421 defined $e2 and $e1 eq $e2
1467 0 119 0 $same_ref and $e1 eq $e2

or 2 conditions

line l !l condition
658 0 0 $args ||= []
876 0 1 $SIG{'__DIE__'} || undef
1026 4 1 $$entry{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
509 0 0 0 ref $proto || $proto
981 16 2 0 @_ == 2 or @_ == 3
999 18 0 0 ref $got || ref $expected
1437 100 0 422 ref $e1 or ref $e2
1465 118 0 1 ref $e1 || ref $e2
1467 119 0 0 defined $e1 || defined $e2

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
999 0 0 0 18 not ref $got xor not ref $expected
1464 1 0 0 118 not ref $e1 xor not ref $e2
1467 119 0 0 0 defined $e1 xor defined $e2
0 0 0 119 _dne($e1) xor _dne($e2)