blib/lib/Parse/PlainConfig.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 35 | 48 | 72.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
243 | 0 | 23 | 23 | &sip($fn, \@chunk) and @chunk |
246 | 2 | 21 | 711 | @lines and not $lines[0] =~ /^\s*__DATA__\s*$/s |
252 | 2 | 9 | 12 | @lines and grep /^\s*__END__\s*$/s, @lines |
253 | 0 | 12 | 48 | @lines and not $lines[-1] =~ /^\s*__END__\s*$/s |
388 | 59 | 0 | 79 | $rv and defined $prop |
59 | 0 | 79 | $rv and defined $prop and length $prop | |
400 | 84 | 0 | 54 | defined $proto and length $proto |
401 | 0 | 0 | 54 | defined $prop and length $prop |
606 | 29 | 0 | 530 | defined $text && length $text |
750 | 2 | 0 | 4 | defined $proto and length $proto |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
75 | 2 | 10 | 30 | scalar @classes or grep {$_ eq "Parse::PlainConfig";} @{*{"${class}::ISA";}{"ARRAY"};} |
342 | 0 | 0 | 0 | $propTypes{$p} == 8 or $propTypes{$p} == 512 |
509 | 0 | 21 | 72 | not defined $indent or $iwidth >= length $indent |
551 | 18 | 37 | 72 | $propTypes{$prop} == 512 or $propTypes{$prop} == 8 |
616 | 155 | 121 | 139 | $lines[0] =~ /^$cre/s or $lines[0] =~ m[^\s*(?:@{[qr/(?:\15\12|\15|\12)/s];})?$]s |
721 | 18 | 7 | 26 | $propTypes{$_} == 8 or $propTypes{$_} == 512 |