Branch Coverage

lib/Template/Plugin/Next.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
36 0 0 ref $_[0] ? :
59 0 2 if scalar @include_paths == 1
61 1 1 if ('File::Spec'->file_name_is_absolute(my $abs_path = $rel_path)) { }
65 0 1 unless ($stash->get('Next_') || $self->error('Could not find Next_ stash entry!'))->{$abs_path}
72 1 2 if shift @include_paths eq $include_path
79 1 1 if scalar stat _concat_path(shift @include_paths, $rel_path)
86 2 0 if (scalar stat $path)
93 0 2 unless defined $template
121 0 4 ref $append_dirs ? :