| blib/lib/Template/Plugin/Next.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 18 | 61.1 |
| line | true | false | branch |
|---|---|---|---|
| 86 | 0 | 0 | ref $_[0] ? : |
| 114 | 0 | 2 | if scalar @include_paths == 1 |
| 116 | 1 | 1 | if ('File::Spec'->file_name_is_absolute(my $abs_path = $rel_path)) { } |
| 118 | 0 | 1 | unless ($stash->get('Next_') || $self->error('Could not find Next_ stash entry!'))->{$abs_path} |
| 127 | 1 | 2 | if shift @include_paths eq $include_path |
| 134 | 1 | 1 | if scalar stat _concat_path(shift @include_paths, $rel_path) |
| 141 | 2 | 0 | if (scalar stat $path) |
| 148 | 0 | 2 | unless defined $template |
| 181 | 0 | 4 | ref $append_dirs ? : |