| blib/lib/Template/Patch.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 24 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 51 | 0 | 3 | unless defined $pfile |
| 56 | 1 | 2 | unless open my $fh, '<', $pfile |
| 58 | 2 | 6 | unless ($from) |
| 59 | 2 | 0 | if /^<{20}/ |
| 60 | 0 | 0 | if /^#/ |
| 61 | 0 | 0 | if /([^:]+) \s* : \s* (.*?) \s* $/x |
| 64 | 2 | 4 | if /^>{20}/ |
| 66 | 2 | 2 | $to ? : |
| 68 | 0 | 2 | unless $self->outp |
| 73 | 2 | 0 | unless ($self->conf->{'anchor-start'}) |
| 79 | 2 | 0 | unless ($self->conf->{'anchor-end'}) |
| 111 | 1 | 1 | if (0 == keys %{$self->vars;}) |