Condition Coverage

blib/lib/Template/Mustache/Parser.pm
Criterion Covered Total %
condition 178 423 42.0


and 3 conditions

line !l l&&!r l&&r condition
626 0 294 0 not defined $return and defined $score
721 0 0 56 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
779 0 19 32 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ m[\A/]
806 0 0 32 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
834 0 0 32 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and do {
0 10 22 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and do {
10 0 22 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and do {
862 0 0 22 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
919 0 0 22 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
999 0 22 0 not defined $return and defined $score
1095 0 0 128 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and do {
0 0 128 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and do {
0 0 128 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and do {
1140 0 128 0 not defined $return and defined $score
1308 0 3 0 not defined $return and defined $score
1404 0 84 3 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A\!/
1453 0 0 3 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:.*?(?=\Q$item[2]\E))/s
1497 0 3 0 not defined $return and defined $score
1669 0 0 0 not defined $return and defined $score
1765 0 87 2 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A\=/
1816 0 0 2 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
1843 0 0 2 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:.*?(?=\=\Q$item[2]\E))/s
1871 0 0 2 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A\=/
1939 0 2 0 not defined $return and defined $score
2034 0 5 69 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:^\Z)/
2078 0 69 0 not defined $return and defined $score
2250 0 27 0 not defined $return and defined $score
2345 0 0 280 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
2402 0 81 19 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:[#^])/
2429 0 0 19 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
2456 0 1 18 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:[-\w.]+)/
2483 0 0 18 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
2540 0 0 18 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
2621 0 18 0 not defined $return and defined $score
2717 0 0 1960 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and do {
0 1265 695 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and do {
1265 0 695 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and do {
2762 0 695 0 not defined $return and defined $score
2857 0 0 296 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
2915 0 100 16 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A\>/
2942 0 0 16 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
2969 0 0 16 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ m[\A(?:[/\w.-]+)]
2996 0 0 16 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
3053 0 0 16 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
3139 0 16 0 not defined $return and defined $score
3424 0 11 0 not defined $return and defined $score
3519 0 0 536 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
3576 0 0 176 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
3663 0 0 5 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
3742 0 5 0 not defined $return and defined $score
4025 0 69 0 not defined $return and defined $score
4191 0 294 0 not defined $return and defined $score
4286 0 0 264 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
4344 0 84 0 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A\{/
4371 0 0 0 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
4428 0 0 0 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
4456 0 0 0 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A\}/
4562 0 0 0 not defined $return and defined $score
4657 0 0 264 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
4715 0 84 0 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A\&/
4742 0 0 0 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
4799 0 0 0 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
4905 0 0 0 not defined $return and defined $score
5000 0 0 264 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
5057 0 0 84 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
5114 0 0 67 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:\s*)/
5218 0 67 0 not defined $return and defined $score
5313 0 17 67 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:[-\w.]+)/
5357 0 67 0 not defined $return and defined $score
5474 0 0 197 $text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/"" if $lastsep = $1;/e and $text =~ /\A(?:^\s*\S*?(?=\Q$item[1]\E|\s|$))/
5543 0 197 0 not defined $return and defined $score

or 2 conditions

line l !l condition
42 296 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
657 56 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
1030 128 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
1171 267 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
1339 87 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
1528 269 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
1700 89 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
1970 74 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
2109 38 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
2281 280 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
2652 1960 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
2793 296 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
3170 280 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
3455 536 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
3773 0 76 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
4056 296 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
4222 264 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
4593 264 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
4936 264 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
5249 84 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0
5388 197 0 $Parse::RecDescent::Template::Mustache::Parser::tracelevel || 0

or 3 conditions

line l !l&&r !l&&!r condition
82 0 0 296 $_matched or $commit
141 16 0 280 $_matched or $commit
200 27 0 269 $_matched or $commit
259 27 0 267 $_matched or $commit
318 30 0 264 $_matched or $commit
377 30 0 264 $_matched or $commit
436 30 0 264 $_matched or $commit
495 97 0 197 $_matched or $commit
614 294 0 0 $_matched or defined $score
697 0 0 56 $_matched or $commit
948 0 0 11 $item[1] =~ /\n/ or $prev
949 0 0 0 $item[8] =~ /\n/ or length $text == 0
987 22 0 34 $_matched or defined $score
1070 0 0 128 $_matched or $commit
1128 128 0 0 $_matched or defined $score
1211 0 0 267 $_matched or $commit
1296 3 0 264 $_matched or defined $score
1379 0 0 87 $_matched or $commit
1485 3 0 84 $_matched or defined $score
1568 0 0 269 $_matched or $commit
1657 0 0 267 $_matched or defined $score
1740 0 0 89 $_matched or $commit
1927 2 0 87 $_matched or defined $score
2010 0 0 74 $_matched or $commit
2066 69 0 5 $_matched or defined $score
2149 0 0 38 $_matched or $commit
2238 27 0 11 $_matched or defined $score
2321 0 0 280 $_matched or $commit
2569 2 9 7 $item[1] =~ /\n/ or $prev
2609 18 0 262 $_matched or defined $score
2692 0 0 1960 $_matched or $commit
2750 695 0 1265 $_matched or defined $score
2833 0 0 296 $_matched or $commit
3083 0 2 14 $item[1] =~ /\n/ or $prev
3084 0 2 0 $item[8] =~ /\n/ or length $text == 0
3127 16 0 280 $_matched or defined $score
3210 0 0 280 $_matched or $commit
3412 11 0 269 $_matched or defined $score
3495 0 0 536 $_matched or $commit
3693 1 3 1 $item[1] =~ /\n/ or $prev
3694 2 2 0 $item[6] =~ /\n/ or length $text == 0
3730 5 0 531 $_matched or defined $score
3813 0 0 76 $_matched or $commit
4013 69 0 5 $_matched or defined $score
4096 0 0 296 $_matched or $commit
4179 294 0 0 $_matched or defined $score
4262 0 0 264 $_matched or $commit
4550 0 0 264 $_matched or defined $score
4633 0 0 264 $_matched or $commit
4893 0 0 264 $_matched or defined $score
4976 0 0 264 $_matched or $commit
5206 67 0 197 $_matched or defined $score
5289 0 0 84 $_matched or $commit
5345 67 0 17 $_matched or defined $score
5428 0 0 197 $_matched or $commit
5531 197 0 0 $_matched or defined $score