Branch Coverage

blib/lib/Text/MustacheTemplate/Lexer.pm
Criterion Covered Total %
branch 22 24 100.0


line true false branch
44 1302 1255 if ($_SOURCE =~ m[\G\Q$OPEN_DELIMITER\E([\{#/&^!>\$<=])?]acgm) { }
1255 0 elsif ($_SOURCE =~ /\G(?:(^[[:blank:]]+)|(.+?)(^[[:blank:]]+)?)(?=\Q$OPEN_DELIMITER\E|\z)/acgms) { }
47 26 1229 if (defined $1) { }
51 66 1163 if defined $3
57 0 544 if (length $_SOURCE != pos $_SOURCE)
67 974 328 defined $type ? :
68 1298 4 if ($_SOURCE =~ /\G(.+?)\Q$prefix$CLOSE_DELIMITER\E/acgms) { }
70 40 1258 if (defined $type and $type eq '=') { }
74 1 39 if ($delimiters =~ /=/ano)
78 2 37 if (@delimiters != 2)
85 932 326 if defined $type
105 2 5 if $len > 0