Condition Coverage

inc/Test/More.pm
Criterion Covered Total %
condition 15 67 22.3


and 3 conditions

line !l l&&!r l&&r condition
183 0 0 0 defined $item and $item eq 'no_diag'
0 0 0 defined $item and $item eq 'import'
204 0 5 0 $class eq 'Test::More' and !$import || grep(($_ eq '$TODO'), @$import)
985 17 0 0 @imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/
1353 0 0 0 $plan and $plan =~ /^\d+$/
1358 0 0 0 defined $how_many and $how_many =~ /\D/
1564 0 0 11 defined $e2 and $e1 eq $e2
1591 0 5 0 $same_ref and $e1 eq $e2

or 2 conditions

line l !l condition
713 0 0 $args ||= []
1032 0 17 $SIG{'__DIE__'} || undef
1147 0 0 $entry->{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
204 5 0 0 !$import || grep(($_ eq '$TODO'), @$import)
542 0 0 0 ref $proto || $proto
1102 0 5 0 @_ == 2 or @_ == 3
1120 5 0 0 ref $got || ref $expected
1561 0 0 11 ref $e1 or ref $e2
1589 5 0 0 ref $e1 || ref $e2
1591 5 0 0 defined $e1 || defined $e2

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
1120 0 0 0 5 not ref $got xor not ref $expected
1588 0 0 0 5 not ref $e1 xor not ref $e2
1591 5 0 0 0 defined $e1 xor defined $e2
0 0 0 5 _dne($e1) xor _dne($e2)