Branch Coverage

blib/lib/Dancer2/Template/Simple.pm
Criterion Covered Total %
branch 30 34 88.2


line true false branch
65 32 27 if (defined $flat[$flat_index] and $flat[$flat_index] eq $full[$full_index])
68 30 2 if $should_bufferize
75 2 25 if $word =~ /\s+/
79 2 27 if ($w eq 'if') { }
2 25 elsif ($w eq 'else') { }
2 23 elsif ($w eq 'end') { }
2 21 elsif ($bufferize_if_token) { }
21 0 elsif ($should_bufferize) { }
90 1 1 _interpolate_value($bool) ? :
114 23 6 if (not defined $value) { }
3 3 elsif (XXX) { }
3 0 elsif (ref $value) { }
123 1 2 if $@
131 2 21 if (XXX) { }
2 19 elsif (XXX) { }
134 0 2 if $@
140 0 23 unless defined $value