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
146 0 56 56 @lines and not $lines[0] =~ /^\s*$/
152 0 0 56 @lines and $lines[-1] =~ /^=end\s+(?:test|testing)\b/o
187 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'
190 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'
195 55 0 0 $parts[0] eq 'test' and not $self->{'setup'}
258 0 1 1 @lines and not $lines[0] =~ /^\s*$/
264 0 0 1 @lines and $lines[-1] =~ /^=for\s+example\s+end\b/o
326 0 57 57 @$lines and $lines->[0] eq ''
327 0 57 57 @$lines and $lines->[-1] eq ''

or 3 conditions

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