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
87 196 41 122 $autochomp and $standalone
90 16 5 73 @chunks > 0 and $chunks[-1][0] eq 'text'
21 0 73 @chunks > 0 and $chunks[-1][0] eq 'text' and not $code =~ /^>/
137 2 332 25 $tag_start eq '{{' and $input =~ s/\A\{//
338 47 0 1 $left->arity eq 'call' and $left->first->id eq 'mark_raw'
358 35 0 38 $name->arity ne 'key' and $name->arity ne 'key_field'
35 38 0 $name->arity ne 'key' and $name->arity ne 'key_field' and $name->arity ne 'call'
404 35 0 38 $closing_name->arity ne 'key' and $closing_name->arity ne 'key_field'
35 38 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
78 153 10 196 $code =~ m[^[!#^/=>]] || $code eq 'else'
102 73 10 276 $code =~ m[^/] or $code eq 'else'
117 73 10 276 $code =~ /^[#^]/ or $code eq 'else'
574 47 0 0 $dot ||= $self->symbol('.')