Condition Coverage

blib/lib/Test/Unit/Assert.pm
Criterion Covered Total %
condition 49 64 76.5


and 3 conditions

line !l l&&!r l&&r condition
118 0 86 4 defined $str and $str =~ /^0x[A-Fa-f0-9]/
125 0 24 62 defined $str && !($str == 0 && !($str =~ /^\s*[+-]?0(e0)?\s*$/i))
169 1 1 34 @args >= 2 and @args <= 3
243 10 36 0 ref $this and ref $that
264 5 133 0 defined $e1 and defined $e2
270 0 125 2 defined $e1 and $e1 eq $DNE
0 119 6 defined $e2 and $e2 eq $DNE
274 9 0 71 ref $e1 and ref $e2
276 65 2 4 defined $Seen_Refs{$e1} and $Seen_Refs{$e1} eq $e2_ref
280 45 4 27 UNIVERSAL::isa($e1, 'ARRAY') and UNIVERSAL::isa($e2, 'ARRAY')
20 0 29 UNIVERSAL::isa($e1, 'HASH') and UNIVERSAL::isa($e2, 'HASH')
20 0 0 UNIVERSAL::isa($e1, 'REF') and UNIVERSAL::isa($e2, 'REF')
13 0 7 UNIVERSAL::isa($e1, 'SCALAR') and UNIVERSAL::isa($e2, 'SCALAR')

or 2 conditions

line l !l condition
350 23 11 $$entry{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
29 75 2 20 not ref $assertion or ref($assertion) =~ /ARRAY/
134 49 1 4 defined $args[0] || defined $args[1]
199 35 2 2 defined $args[0] || defined $args[1]
265 6 0 5 defined $e1 or defined $e2
270 2 0 125 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
134 48 1 1 0 defined $args[0] xor defined $args[1]
199 33 2 2 0 defined $args[0] xor defined $args[1]