Condition Coverage

blib/lib/Text/Xslate/Syntax/Handlebars.pm
Criterion Covered Total %
condition 31 39 79.4


and 3 conditions

line !l l&&!r l&&r condition
89 192 41 120 $autochomp and $standalone
92 16 5 71 @chunks > 0 and $chunks[-1][0] eq 'text'
21 0 71 @chunks > 0 and $chunks[-1][0] eq 'text' and not $code =~ /^>/
134 2 336 15 $tag_start eq '{{' and $input =~ s/\A\{//
335 47 0 1 $left->arity eq 'call' and $left->first->id eq 'mark_raw'
355 35 0 37 $name->arity ne 'key' and $name->arity ne 'key_field'
35 37 0 $name->arity ne 'key' and $name->arity ne 'key_field' and $name->arity ne 'call'
401 35 0 37 $closing_name->arity ne 'key' and $closing_name->arity ne 'key_field'
35 37 0 $closing_name->arity ne 'key' and $closing_name->arity ne 'key_field' and $closing_name->arity ne 'call'

or 3 conditions

line l !l&&r !l&&!r condition
80 151 10 192 $code =~ m[^[!#^/=>]] || $code eq 'else'
104 72 10 271 $code =~ m[^/] or $code eq 'else'
114 72 10 271 $code =~ /^[#^]/ or $code eq 'else'
571 47 0 0 $dot ||= $self->symbol('.')