| blib/lib/ASP4/PageParser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 24 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 55 | 0 | 19 | unless open my $ifh, '<', $s->{'filename'} |
| 60 | 5 | 14 | if (my $master_uri = $directives->{'page'}{'usemasterpage'}) { } |
| 3 | 11 | elsif ($directives->{'masterpage'}) { } | |
| 86 | 13 | 13 | if ($tag =~ m[^]) { } |
| 131 | 10 | 10 | if ($tag =~ m[^]) { } |
| 188 | 5 | 14 | $s->{'masterpage'} ? : |
| 196 | 14 | 5 | unless ($s->{'masterpage'}) |
| 224 | 0 | 19 | unless open my $ofh, '>', $s->{'saved_to'} |
| 242 | 23 | 158 | if (/\Q$tag\E/s) |
| 330 | 0 | 0 | $5 ? : |
| 5 | 0 | $3 ? : | |
| 331 | 5 | 0 | if ($test) { } |