Condition Coverage

inc/Test/More.pm
Criterion Covered Total %
condition 1 55 1.8


and 3 conditions

line !l l&&!r l&&r condition
181 0 2 0 defined $item and $item eq 'no_diag'
946 0 0 0 @imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/
1302 0 0 0 defined $how_many and $how_many =~ /\D/
1508 0 0 0 defined $e2 and $e1 eq $e2
1535 0 0 0 $same_ref and $e1 eq $e2

or 2 conditions

line l !l condition
686 0 0 $args ||= []
994 0 0 $SIG{'__DIE__'} || undef
1094 0 0 $entry->{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
515 0 0 0 ref $proto || $proto
1049 0 0 0 @_ == 2 or @_ == 3
1067 0 0 0 ref $got || ref $expected
1505 0 0 0 ref $e1 or ref $e2
1533 0 0 0 ref $e1 || ref $e2
1535 0 0 0 defined $e1 || defined $e2

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
1067 0 0 0 0 not ref $got xor not ref $expected
1532 0 0 0 0 not ref $e1 xor not ref $e2
1535 0 0 0 0 defined $e1 xor defined $e2
0 0 0 0 _dne($e1) xor _dne($e2)