Condition Coverage

blib/lib/Test/Mini/Assertions.pm
Criterion Covered Total %
condition 54 74 72.9


and 3 conditions

line !l l&&!r l&&r condition
147 0 6 0 $msg and ref $block ne 'CODE'
168 0 6 0 $msg and ref $block ne 'CODE'
413 26 1204 0 $passed and @actual || @expected
416 1094 0 62 ref $actual and ref $expected
1094 56 6 ref $actual and ref $expected and &refaddr($actual) == &refaddr($expected)
418 1118 0 24 ref $actual eq 'ARRAY' and ref $expected eq 'ARRAY'
1108 0 10 ref $actual eq 'HASH' and ref $expected eq 'HASH'
1090 0 18 ref $actual and ref $expected
48 4 1038 &looks_like_number($actual) and &looks_like_number($expected)
6 2 44 defined $actual and defined $expected
475 28 130 0 $passed and @actual || @unexpected
478 54 0 54 ref $actual and ref $unexpected
54 50 4 ref $actual and ref $unexpected and &refaddr($actual) == &refaddr($unexpected)
480 76 0 24 ref $actual eq 'ARRAY' and ref $unexpected eq 'ARRAY'
68 0 8 ref $actual eq 'HASH' and ref $unexpected eq 'HASH'
50 0 18 ref $actual and ref $unexpected
18 4 28 &looks_like_number($actual) and &looks_like_number($unexpected)
3 2 17 defined $actual and defined $unexpected

or 2 conditions

line l !l condition
103 271 2 $msg ||= 'Assertion failed; no message given.'
128 105 2 $msg ||= 'Refutation failed; no message given.'
187 24 0 ref $obj || 'SCALAR'
204 4 0 ref $obj || 'SCALAR'

or 3 conditions

line l !l&&r !l&&!r condition
413 1156 0 48 @actual || @expected
443 2 0 6 defined $actual || defined $expected
475 108 0 22 @actual || @unexpected
505 2 0 3 defined $actual || defined $unexpected