| 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 |
| 409 | 59 | 0 | 79 | $rv and defined $prop |
| 59 | 0 | 79 | $rv and defined $prop and length $prop | |
| 421 | 84 | 0 | 54 | defined $proto and length $proto |
| 422 | 0 | 0 | 54 | defined $prop and length $prop |
| 627 | 29 | 0 | 530 | defined $text && length $text |
| 771 | 2 | 0 | 4 | defined $proto and length $proto |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 75 | 2 | 10 | 30 | scalar @classes or grep {$_ eq __PACKAGE__;} @{*{"${class}::ISA";}{"ARRAY"};} |
| 363 | 0 | 0 | 0 | $propTypes{$p} == 8 or $propTypes{$p} == 1024 |
| 530 | 0 | 21 | 72 | not defined $indent or $iwidth >= length $indent |
| 572 | 18 | 37 | 72 | $propTypes{$prop} == 1024 or $propTypes{$prop} == 8 |
| 637 | 155 | 121 | 139 | $lines[0] =~ /^$cre/s or $lines[0] =~ m[^\s*(?:@{[qr/(?:\15\12|\15|\12)/s];})?$]s |
| 742 | 18 | 7 | 26 | $propTypes{$_} == 8 or $propTypes{$_} == 1024 |