Branch Coverage

blib/lib/Text/Handlebars/Compiler.pm
Criterion Covered Total %
branch 27 30 90.0


line true false branch
24 35 35 if $node->first
52 41 1632 if ($node->is_helper)
56 4 38 if ($arg->arity eq 'pair') { }
68 33 8 if ($node->is_block_helper) { }
85 3 0 if (ref $file eq 'ARRAY')
95 1 2 if ($args)
153 33 35 if ($name->arity eq 'call')
154 7 26 $block{'else'} ? :
227 997 70 if ($self->is_unary($node->id)) { }
234 0 0 if ($Text::Xslate::Compiler::OPTIMIZE and ($self->_code_is_literal(@code) and $node->id ne 'render_string' and $node->id ne 'find_file'))
280 35 747 if ($node->third)
319 35 1 if ($i) { }
364 35 1 $i ? :
452 105 105 if blessed $val
596 35 747 @_ > 1 ? :