Branch Coverage

blib/lib/Text/TemplateLite/Renderer.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
104 1 5 if @_ < 2
106 0 5 if defined $template and not blessed $template && $template->isa('Text::TemplateLite')
154 27 12 if @_ < 3
172 23 6 if exists $$self{'result'}
175 29 0 if ($$self{'template'}) { }
203 15 3 unless @_
333 8 45 if (@_ > 1)
334 7 1 if $step > $$self{'info'}{'total_steps'}
336 0 8 if defined $limit and $step > $limit
341 1 44 if $$self{'info'}{'stop'}
343 43 1 if (not defined $limit or $$self{'info'}{'total_steps'} < $limit)
378 0 4 if $$ext_info{'stop'}