Condition Coverage

blib/lib/Parse/PlainConfig.pm
Criterion Covered Total %
condition 32 45 71.1


and 3 conditions

line !l l&&!r l&&r condition
197 0 15 15 &sip($fn, \@chunk) and @chunk
200 2 13 495 @lines and not $lines[0] =~ /^\s*__DATA__\s*$/s
206 2 9 4 @lines and grep /^\s*__END__\s*$/s, @lines
207 0 4 16 @lines and not $lines[-1] =~ /^\s*__END__\s*$/s
325 41 0 61 $rv and defined $prop
41 0 61 $rv and defined $prop and length $prop
337 65 0 37 defined $proto and length $proto
338 0 0 37 defined $prop and length $prop
548 23 0 410 defined $text && length $text
697 1 0 2 defined $proto and length $proto

or 3 conditions

line l !l&&r !l&&!r condition
277 0 0 0 $propTypes{$p} == 8 or $propTypes{$p} == 512
447 0 15 60 not defined $indent or $iwidth >= length $indent
491 15 19 60 $propTypes{$prop} == 512 or $propTypes{$prop} == 8
558 119 91 103 $lines[0] =~ /^$cre/s or $lines[0] =~ /^\s*(?:@{[\undef];})?$/s
667 13 6 22 $propTypes{$_} == 8 or $propTypes{$_} == 512