Condition Coverage

blib/lib/Test/Unit/Assert.pm
Criterion Covered Total %
condition 45 61 73.7


and 3 conditions

line !l l&&!r l&&r condition
114 0 24 62 defined $str && !($str == 0 && !($str =~ /^\s*[+-]?0(e0)?\s*$/i))
158 1 1 33 @args >= 2 and @args <= 3
232 10 28 0 ref $this and ref $that
253 5 112 0 defined $e1 and defined $e2
259 0 104 2 defined $e1 and $e1 eq $DNE
0 100 4 defined $e2 and $e2 eq $DNE
263 3 0 55 ref $e1 and ref $e2
265 51 0 4 defined $Seen_Refs{$e1} and $Seen_Refs{$e1} eq $e2_ref
269 26 4 24 UNIVERSAL::isa($e1, 'ARRAY') and UNIVERSAL::isa($e2, 'ARRAY')
7 0 23 UNIVERSAL::isa($e1, 'HASH') and UNIVERSAL::isa($e2, 'HASH')
7 0 0 UNIVERSAL::isa($e1, 'REF') and UNIVERSAL::isa($e2, 'REF')
7 0 0 UNIVERSAL::isa($e1, 'SCALAR') and UNIVERSAL::isa($e2, 'SCALAR')

or 2 conditions

line l !l condition
339 14 8 $$entry{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
26 75 2 17 not ref $assertion or ref($assertion) =~ /ARRAY/
123 47 1 4 defined $args[0] || defined $args[1]
188 33 2 2 defined $args[0] || defined $args[1]
254 6 0 5 defined $e1 or defined $e2
259 2 0 104 defined $e1 and $e1 eq $DNE or defined $e2 and $e2 eq $DNE

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
123 46 1 1 0 defined $args[0] xor defined $args[1]
188 31 2 2 0 defined $args[0] xor defined $args[1]