Condition Coverage

blib/lib/Test/Inline/Section.pm
Criterion Covered Total %
condition 22 36 61.1


and 3 conditions

line !l l&&!r l&&r condition
152 0 56 56 @lines and not $lines[0] =~ /^\s*$/
158 0 0 56 @lines and $lines[-1] =~ /^=end\s+(?:test|testing)\b/o
193 28 27 0 @parts == 2 and $parts[0] eq 'test'
55 0 0 @parts == 2 and $parts[0] eq 'test' and $parts[1] eq 'setup'
196 9 0 46 @parts >= 2 and $parts[0] eq 'testing'
9 37 9 @parts >= 2 and $parts[0] eq 'testing' and $parts[1] eq 'SETUP'
201 55 0 0 $parts[0] eq 'test' and not $$self{'setup'}
264 0 1 1 @lines and not $lines[0] =~ /^\s*$/
270 0 0 1 @lines and $lines[-1] =~ /^=for\s+example\s+end\b/o
332 0 57 57 @$lines and $$lines[0] eq ''
333 0 57 57 @$lines and $$lines[-1] eq ''

or 3 conditions

line l !l&&r !l&&!r condition
475 21 1 7 defined $$self{'name'} || $$self{'setup'}