Branch Coverage

blib/lib/Dist/Zilla/Role/TextTemplater.pm
Criterion Covered Total %
branch 31 34 91.1


line true false branch
200 11 1 $emesg =~ / \s at \s \Q$tfile\E \s line \s (\d+)/x ? :
213 11 1 if ($eline)
216 5 7 if ($tline != $eline)
407 2 34 $hash ? :
421 4 32 $args ? :
434 36 0 if (defined $tt and not defined $Text::Template::ERROR)
436 29 7 if (not defined $package or $package eq '')
459 2 34 if (defined $Text::Template::ERROR)
470 2 0 if ($Text::Template::ERROR =~ /$known/x)
472 1 1 $type ? :
483 2 34 if (defined $Text::Template::ERROR)
487 11 25 if (@$errors)
491 24 1 if ($file->does('Dist::Zilla::Role::MutableFile'))
562 6 1 if ($class) { }
563 4 2 if ($file->isa('Moose::Object') and $file->does('Dist::Zilla::Role::File')) { }
1 1 elsif ($file->isa('Path::Tiny')) { }
1 0 elsif ($file->isa('Path::Class::File')) { }