Condition Coverage

inc/Test/More.pm
Criterion Covered Total %
condition 20 55 36.3


and 3 conditions

line !l l&&!r l&&r condition
182 0 86 0 defined $item and $item eq 'no_diag'
842 5 0 0 @imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/
1244 0 0 0 defined $how_many and $how_many =~ /\D/
1450 0 0 87 defined $e2 and $e1 eq $e2
1477 0 52 7 $same_ref and $e1 eq $e2

or 2 conditions

line l !l condition
663 0 0 $args ||= []
886 0 5 $SIG{'__DIE__'} || undef
1036 0 0 $$entry{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
514 0 2 0 ref $proto || $proto
991 48 3 0 @_ == 2 or @_ == 3
1009 51 0 0 ref $got || ref $expected
1447 8 0 87 ref $e1 or ref $e2
1475 57 0 2 ref $e1 || ref $e2
1477 59 0 0 defined $e1 || defined $e2

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
1009 0 0 0 51 not ref $got xor not ref $expected
1474 2 0 0 57 not ref $e1 xor not ref $e2
1477 59 0 0 0 defined $e1 xor defined $e2
0 0 0 59 _dne($e1) xor _dne($e2)