Branch Coverage

blib/lib/Template/Mustache/Token/Partial.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
17 11 5 if (ref $partials eq 'CODE') { }
18 0 11 unless my $template = &$partials($self->name)
21 7 4 ref $template ? :
24 0 5 unless $partial = $$partials{$self->name}
27 7 9 if (ref $partial eq "Template::Mustache")