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
114 0 6 0 $msg and ref $block ne 'CODE'
125 0 6 0 $msg and ref $block ne 'CODE'
269 26 1204 0 $passed and @actual || @expected
272 1094 0 62 ref $actual and ref $expected
1094 56 6 ref $actual and ref $expected and &refaddr($actual) == &refaddr($expected)
274 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
316 26 148 0 $passed and @actual || @unexpected
319 64 0 60 ref $actual and ref $unexpected
64 54 6 ref $actual and ref $unexpected and &refaddr($actual) == &refaddr($unexpected)
321 86 0 24 ref $actual eq 'ARRAY' and ref $unexpected eq 'ARRAY'
78 0 8 ref $actual eq 'HASH' and ref $unexpected eq 'HASH'
60 0 18 ref $actual and ref $unexpected
28 4 28 &looks_like_number($actual) and &looks_like_number($unexpected)
6 2 24 defined $actual and defined $unexpected

or 2 conditions

line l !l condition
88 271 2 $msg ||= 'Assertion failed; no message given.'
105 105 2 $msg ||= 'Refutation failed; no message given.'
135 24 0 ref $obj || 'SCALAR'
143 4 0 ref $obj || 'SCALAR'

or 3 conditions

line l !l&&r !l&&!r condition
269 1156 0 48 @actual || @expected
299 2 0 6 defined $actual || defined $expected
316 124 0 24 @actual || @unexpected
346 2 0 6 defined $actual || defined $unexpected