Condition Coverage

lib/Test/Assert.pm
Criterion Covered Total %
condition 55 77 71.4


and 3 conditions

line !l l&&!r l&&r condition
220 15 4 15 $value1 =~ /^[+-]?(\d+\.\d+|\d+\.|\.\d+|\d+)([eE][+-]?\d+)?$/ and $value2 =~ /^[+-]?(\d+\.\d+|\d+\.|\.\d+|\d+)([eE][+-]?\d+)?$/
243 5 4 16 $value1 =~ /^[+-]?(\d+\.\d+|\d+\.|\.\d+|\d+)([eE][+-]?\d+)?$/ and $value2 =~ /^[+-]?(\d+\.\d+|\d+\.|\.\d+|\d+)([eE][+-]?\d+)?$/
444 57 3 127 ref $e and __isa($e, 'Exception::Base')
496 0 0 0 defined $message && $message ne '' && $ok_message ne ''
0 0 0 $ok_message ne '' && $diag_message ne ''
515 4 189 0 defined $e1 and defined $e2
523 13 1 73 ref $e1 and ref $e2
525 69 0 4 defined $$seen_refs{$e1} and $$seen_refs{$e1} eq $e2_ref
529 46 3 34 ref $e1 eq 'ARRAY' and ref $e2 eq 'ARRAY'
20 0 29 ref $e1 eq 'HASH' and ref $e2 eq 'HASH'
20 0 0 ref $e1 eq 'REF' and ref $e2 eq 'REF'
17 0 3 ref $e1 eq 'SCALAR' and ref $e2 eq 'SCALAR'

or 2 conditions

line l !l condition
607 21 15 $$entry{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
215 36 0 4 defined $value1 or defined $value2
239 27 0 4 defined $value1 or defined $value2
262 15 0 5 defined $value1 or defined $value2
277 16 0 2 defined $value1 or defined $value2
293 9 0 4 defined $value1 or defined $value2
309 9 0 4 defined $value1 or defined $value2
360 31 1 5 ref $value1 or ref $value2
381 11 1 3 ref $value1 or ref $value2
516 3 0 4 defined $e1 or defined $e2

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
242 0 2 2 25 not defined $value1 xor not defined $value2
280 0 1 1 15 not defined $value1 xor not defined $value2
312 0 3 1 8 not defined $value1 xor not defined $value2