Branch Coverage

blib/lib/MarpaX/Languages/ECMAScript/AST/Grammar/ECMAScript_262_5/Pattern/Semantics.pm
Criterion Covered Total %
branch 0 124 0.0


line true false branch
72 0 0 if ($^V >= v5.11.0) { }
120 0 0 if ($r)
160 0 0 if (not $isMatcher) { }
163 0 0 unless ($r)
183 0 0 if (defined $max and $max == 0)
188 0 0 if ($min == 0 and $$y[0] == $$x[0])
191 0 0 $min == 0 ? :
192 0 0 !defined($max) ? :
201 0 0 if ($min != 0)
204 0 0 unless ($greedy)
206 0 0 if ($z)
212 0 0 if ($z)
225 0 0 if ($_ < $start) { }
0 0 elsif ($_ <= $end) { }
243 0 0 if (defined $max and $max < $min)
264 0 0 if ($e == 0)
267 0 0 unless ($MarpaX::Languages::ECMAScript::AST::Pattern::multiline)
271 0 0 if (exists $HASHLINETERMINATOR{$c})
287 0 0 if ($e == $MarpaX::Languages::ECMAScript::AST::Pattern::inputLength)
290 0 0 unless ($MarpaX::Languages::ECMAScript::AST::Pattern::multiline)
294 0 0 if (exists $HASHLINETERMINATOR{$c})
305 0 0 if ($e == -1 or $e == $MarpaX::Languages::ECMAScript::AST::Pattern::inputLength)
314 0 0 if ($c >= 97 and $c <= 122 or $c >= 65 and $c <= 90 or $c >= 48 and $c <= 57 or $c == 95)
339 0 0 if ($a and not $b)
342 0 0 if (not $a and $b)
359 0 0 if ($a and not $b)
362 0 0 if (not $a and $b)
384 0 0 unless ($r)
410 0 0 if ($r)
470 0 0 unless ($MarpaX::Languages::ECMAScript::AST::Pattern::ignoreCase)
475 0 0 if (length $u != 1)
482 0 0 if (ord $ch >= 128 and ord $cu < 128)
507 0 0 if ($Anegation)
515 0 0 if ($e == $MarpaX::Languages::ECMAScript::AST::Pattern::inputLength)
520 0 0 if (not $invert) { }
521 0 0 unless (grep {$cc eq _canonicalize($_);} @{$Arange;})
525 0 0 if (grep {$cc eq _canonicalize($_);} @{$Arange;})
606 0 0 $decimalEscape == 0 ? :
608 0 0 if (defined $ch)
613 0 0 if ($n == 0 or $n > scalar @{$self->lparen;})
621 0 0 unless (defined $s)
627 0 0 if ($f > $MarpaX::Languages::ECMAScript::AST::Pattern::inputLength)
631 0 0 if (_canonicalize(substr($s, $_, 1)) ne _canonicalize(substr($MarpaX::Languages::ECMAScript::AST::Pattern::input, $e + $_, 1)))
660 0 0 if ($$controlEscape[2] eq 't') { }
0 0 elsif ($$controlEscape[2] eq 'n') { }
0 0 elsif ($$controlEscape[2] eq 'v') { }
0 0 elsif ($$controlEscape[2] eq 'f') { }
0 0 elsif ($$controlEscape[2] eq 'r') { }
747 0 0 if ($cCharacterClassEscape eq 'd') { }
0 0 elsif ($cCharacterClassEscape eq 'D') { }
0 0 elsif ($cCharacterClassEscape eq 's') { }
0 0 elsif ($cCharacterClassEscape eq 'S') { }
0 0 elsif ($cCharacterClassEscape eq 'w') { }
0 0 elsif ($cCharacterClassEscape eq 'W') { }
805 0 0 $Anegation ? :
815 0 0 if ($Anegation == $Bnegation) { }
833 0 0 if ($Aelements + $BelementsRevert <= $AelementsRevert + $Belements) { }
861 0 0 if ($Anegation != $Bnegation)
872 0 0 if ($AelementsRevert <= $BelementsRevert) { }
885 0 0 if ($#{$Arange;} != 0 or $#{$Brange;} != 0)
892 0 0 if ($i > $j)
972 0 0 if ($@)