line |
true |
false |
branch |
31
|
0 |
6 |
unless (eval $parser_src) |
|
17 |
21038 |
unless $_ |
|
1 |
14490 |
if ($ReturnWhitespace) |
|
14491 |
6547 |
if (s/^([\040\011\014]|\015\012|\015|\012)//) |
|
0 |
1 |
if ($ReturnComments) |
|
1 |
6546 |
if (s[^//][]) |
|
1 |
15 |
if ($ReturnComments) |
|
16 |
6530 |
if (s[^\/\*(.*?)\*/][]s) |
|
5 |
6513 |
if (s/^( $DigitRe+ \. $DigitRe* $ExponentRe? ) ( $FloatTypeSuffixRe? )//x or s/^( \. $DigitRe+ $ExponentRe? ) ( $FloatTypeSuffixRe? )//x or s/^( $DigitRe+ $ExponentRe ) ( $FloatTypeSuffixRe? )//x or s/^( $DigitRe+ $ExponentRe? ) ( $FloatTypeSuffixRe )//x or s/^( $HexSignificandRe $BinaryExponentIndicatorRe ) ( $FloatTypeSuffixRe? )//x) |
|
63 |
6446 |
if (s/^( $HexNumeralRe ) ( $IntegerTypeSuffixRe? )//x or s/^( $OctNumeralRe ) ( $IntegerTypeSuffixRe? )//x or s/^( $DecimalNumeralRe ) ( $IntegerTypeSuffixRe? )//x) |
|
13 |
6433 |
if (s/^'([^'\\']|$EscapeSequence)'//) |
|
176 |
6257 |
if (s/^"((?:[^"\\]|$EscapeSequence)*)"//) |
|
629 |
2209 |
if (exists $Keyword{$1}) |
|
17 |
2192 |
if $1 eq 'true' or $1 eq 'false' |
|
92 |
2100 |
if $1 eq 'null' |
|
2838 |
3419 |
if (s/^($JavaLetterRe+$JavaLetterOrDigitRe*)//x) |
|
3028 |
391 |
if (s/^([\(\)\{\}\[\]\;\,\.])//) |
|
32 |
359 |
if (s/^(\+\+|--|\?|:|~|&&|\|\|)//) |
|
190 |
169 |
if (s/^(={1,2})//) |
|
158 |
11 |
if (s[^((?:[\+\-\*/\&\|\^\%\!]|<{1,2}|>{1,3})=?)][]) |
|
0 |
4 |
if ($ENV{'YAPP_DEBUG'}) |
|
0 |
30 |
if ref $class |
34
|
0 |
0 |
$line - 3 >= 0 ? : |
41
|
0 |
0 |
$line_no == $line ? : |
42
|
0 |
0 |
if $line_no >= $first |
43
|
0 |
0 |
if $line_no > $last |
48
|
0 |
6 |
if ($ENV{'PARSE_JAVA_DEBUG'}) |
52
|
0 |
0 |
unless open OUT, ">$output" |
83
|
7 |
19 |
if (ref $ast eq 'Parse::Java::Token') |
87
|
8 |
11 |
if (ref $ast eq 'ARRAY') { } |
|
9 |
2 |
elsif (ref $ast) { } |