1 | /* | |
2 | * Copyright 2006 - 2013 | |
3 | * Stefan Balev <stefan.balev@graphstream-project.org> | |
4 | * Julien Baudry <julien.baudry@graphstream-project.org> | |
5 | * Antoine Dutot <antoine.dutot@graphstream-project.org> | |
6 | * Yoann Pign�� <yoann.pigne@graphstream-project.org> | |
7 | * Guilhelm Savin <guilhelm.savin@graphstream-project.org> | |
8 | * | |
9 | * This file is part of GraphStream <http://graphstream-project.org>. | |
10 | * | |
11 | * GraphStream is a library whose purpose is to handle static or dynamic | |
12 | * graph, create them from scratch, file or any source and display them. | |
13 | * | |
14 | * This program is free software distributed under the terms of two licenses, the | |
15 | * CeCILL-C license that fits European law, and the GNU Lesser General Public | |
16 | * License. You can use, modify and/ or redistribute the software under the terms | |
17 | * of the CeCILL-C license as circulated by CEA, CNRS and INRIA at the following | |
18 | * URL <http://www.cecill.info> or under the terms of the GNU LGPL as published by | |
19 | * the Free Software Foundation, either version 3 of the License, or (at your | |
20 | * option) any later version. | |
21 | * | |
22 | * This program is distributed in the hope that it will be useful, but WITHOUT ANY | |
23 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
24 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | |
25 | * | |
26 | * You should have received a copy of the GNU Lesser General Public License | |
27 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
28 | * | |
29 | * The fact that you are presently reading this means that you have had | |
30 | * knowledge of the CeCILL-C and LGPL licenses and that you accept their terms. | |
31 | */ | |
32 | package org.graphstream.stream.file.tlp; | |
33 | ||
34 | import org.graphstream.util.parser.SimpleCharStream; | |
35 | import org.graphstream.util.parser.Token; | |
36 | import org.graphstream.util.parser.TokenMgrError; | |
37 | ||
38 | /** Token Manager. */ | |
39 | public class TLPParserTokenManager implements TLPParserConstants { | |
40 | ||
41 | /** Debug output. */ | |
42 | public java.io.PrintStream debugStream = System.out; | |
43 | ||
44 | /** Set debug output. */ | |
45 | public void setDebugStream(java.io.PrintStream ds) { | |
46 | debugStream = ds; | |
47 | } | |
48 | ||
49 | private final int jjStopStringLiteralDfa_0(int pos, long active0) { | |
50 | switch (pos) { | |
51 | case 0: | |
52 |
2
1. jjStopStringLiteralDfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjStopStringLiteralDfa_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x900000L) != 0L) |
53 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 35; |
54 |
2
1. jjStopStringLiteralDfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjStopStringLiteralDfa_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x240000L) != 0L) |
55 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 29; |
56 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return -1; |
57 | case 1: | |
58 |
2
1. jjStopStringLiteralDfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjStopStringLiteralDfa_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x200000L) != 0L) |
59 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 28; |
60 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return -1; |
61 | default: | |
62 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return -1; |
63 | } | |
64 | } | |
65 | ||
66 | private final int jjStartNfa_0(int pos, long active0) { | |
67 |
2
1. jjStartNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE 2. jjStartNfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1); |
68 | } | |
69 | ||
70 | private int jjStopAtPos(int pos, int kind) { | |
71 | jjmatchedKind = kind; | |
72 | jjmatchedPos = pos; | |
73 |
2
1. jjStopAtPos : Replaced integer addition with subtraction → NO_COVERAGE 2. jjStopAtPos : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return pos + 1; |
74 | } | |
75 | ||
76 | private int jjMoveStringLiteralDfa0_0() { | |
77 | switch (curChar) { | |
78 | case 40: | |
79 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(0, 10); |
80 | case 41: | |
81 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(0, 11); |
82 | case 65: | |
83 | case 97: | |
84 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa1_0(0x80000L); |
85 | case 67: | |
86 | case 99: | |
87 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa1_0(0x240000L); |
88 | case 68: | |
89 | case 100: | |
90 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa1_0(0x900000L); |
91 | case 69: | |
92 | case 101: | |
93 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa1_0(0x30000L); |
94 | case 71: | |
95 | case 103: | |
96 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa1_0(0x2000L); |
97 | case 78: | |
98 | case 110: | |
99 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa1_0(0xc000L); |
100 | case 80: | |
101 | case 112: | |
102 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa1_0(0x400000L); |
103 | case 84: | |
104 | case 116: | |
105 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa1_0(0x1000L); |
106 | default: | |
107 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveNfa_0(6, 0); |
108 | } | |
109 | } | |
110 | ||
111 | private int jjMoveStringLiteralDfa1_0(long active0) { | |
112 | try { | |
113 | curChar = input_stream.readChar(); | |
114 | } catch (java.io.IOException e) { | |
115 | jjStopStringLiteralDfa_0(0, active0); | |
116 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 1; |
117 | } | |
118 | switch (curChar) { | |
119 | case 65: | |
120 | case 97: | |
121 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa2_0(active0, 0x100000L); |
122 | case 68: | |
123 | case 100: | |
124 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa2_0(active0, 0x30000L); |
125 | case 69: | |
126 | case 101: | |
127 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa2_0(active0, 0x800000L); |
128 | case 76: | |
129 | case 108: | |
130 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa2_0(active0, 0x41000L); |
131 | case 79: | |
132 | case 111: | |
133 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa2_0(active0, 0x20c000L); |
134 | case 82: | |
135 | case 114: | |
136 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa2_0(active0, 0x402000L); |
137 | case 85: | |
138 | case 117: | |
139 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa2_0(active0, 0x80000L); |
140 | default: | |
141 | break; | |
142 | } | |
143 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(0, active0); |
144 | } | |
145 | ||
146 | private int jjMoveStringLiteralDfa2_0(long old0, long active0) { | |
147 |
2
1. jjMoveStringLiteralDfa2_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa2_0 : negated conditional → NO_COVERAGE |
if (((active0 &= old0)) == 0L) |
148 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(0, old0); |
149 | try { | |
150 | curChar = input_stream.readChar(); | |
151 | } catch (java.io.IOException e) { | |
152 | jjStopStringLiteralDfa_0(1, active0); | |
153 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 2; |
154 | } | |
155 | switch (curChar) { | |
156 | case 65: | |
157 | case 97: | |
158 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa3_0(active0, 0x2000L); |
159 | case 68: | |
160 | case 100: | |
161 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa3_0(active0, 0xc000L); |
162 | case 70: | |
163 | case 102: | |
164 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa3_0(active0, 0x800000L); |
165 | case 71: | |
166 | case 103: | |
167 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa3_0(active0, 0x30000L); |
168 | case 77: | |
169 | case 109: | |
170 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa3_0(active0, 0x200000L); |
171 | case 79: | |
172 | case 111: | |
173 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa3_0(active0, 0x400000L); |
174 | case 80: | |
175 | case 112: | |
176 |
2
1. jjMoveStringLiteralDfa2_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa2_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x1000L) != 0L) |
177 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(2, 12); |
178 | break; | |
179 | case 84: | |
180 | case 116: | |
181 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa3_0(active0, 0x180000L); |
182 | case 85: | |
183 | case 117: | |
184 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa3_0(active0, 0x40000L); |
185 | default: | |
186 | break; | |
187 | } | |
188 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(1, active0); |
189 | } | |
190 | ||
191 | private int jjMoveStringLiteralDfa3_0(long old0, long active0) { | |
192 |
2
1. jjMoveStringLiteralDfa3_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa3_0 : negated conditional → NO_COVERAGE |
if (((active0 &= old0)) == 0L) |
193 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(1, old0); |
194 | try { | |
195 | curChar = input_stream.readChar(); | |
196 | } catch (java.io.IOException e) { | |
197 | jjStopStringLiteralDfa_0(2, active0); | |
198 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 3; |
199 | } | |
200 | switch (curChar) { | |
201 | case 65: | |
202 | case 97: | |
203 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa4_0(active0, 0x800000L); |
204 | case 69: | |
205 | case 101: | |
206 |
2
1. jjMoveStringLiteralDfa3_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa3_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x4000L) != 0L) { |
207 | jjmatchedKind = 14; | |
208 | jjmatchedPos = 3; | |
209 |
2
1. jjMoveStringLiteralDfa3_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa3_0 : negated conditional → NO_COVERAGE |
} else if ((active0 & 0x10000L) != 0L) { |
210 | jjmatchedKind = 16; | |
211 | jjmatchedPos = 3; | |
212 |
2
1. jjMoveStringLiteralDfa3_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa3_0 : negated conditional → NO_COVERAGE |
} else if ((active0 & 0x100000L) != 0L) |
213 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(3, 20); |
214 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa4_0(active0, 0x28000L); |
215 | case 72: | |
216 | case 104: | |
217 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa4_0(active0, 0x80000L); |
218 | case 77: | |
219 | case 109: | |
220 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa4_0(active0, 0x200000L); |
221 | case 80: | |
222 | case 112: | |
223 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa4_0(active0, 0x402000L); |
224 | case 83: | |
225 | case 115: | |
226 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa4_0(active0, 0x40000L); |
227 | default: | |
228 | break; | |
229 | } | |
230 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(2, active0); |
231 | } | |
232 | ||
233 | private int jjMoveStringLiteralDfa4_0(long old0, long active0) { | |
234 |
2
1. jjMoveStringLiteralDfa4_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa4_0 : negated conditional → NO_COVERAGE |
if (((active0 &= old0)) == 0L) |
235 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(2, old0); |
236 | try { | |
237 | curChar = input_stream.readChar(); | |
238 | } catch (java.io.IOException e) { | |
239 | jjStopStringLiteralDfa_0(3, active0); | |
240 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 4; |
241 | } | |
242 | switch (curChar) { | |
243 | case 69: | |
244 | case 101: | |
245 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa5_0(active0, 0x600000L); |
246 | case 72: | |
247 | case 104: | |
248 |
2
1. jjMoveStringLiteralDfa4_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa4_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x2000L) != 0L) |
249 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(4, 13); |
250 | break; | |
251 | case 79: | |
252 | case 111: | |
253 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa5_0(active0, 0x80000L); |
254 | case 83: | |
255 | case 115: | |
256 |
2
1. jjMoveStringLiteralDfa4_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa4_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x8000L) != 0L) |
257 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(4, 15); |
258 |
2
1. jjMoveStringLiteralDfa4_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa4_0 : negated conditional → NO_COVERAGE |
else if ((active0 & 0x20000L) != 0L) |
259 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(4, 17); |
260 | break; | |
261 | case 84: | |
262 | case 116: | |
263 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa5_0(active0, 0x40000L); |
264 | case 85: | |
265 | case 117: | |
266 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa5_0(active0, 0x800000L); |
267 | default: | |
268 | break; | |
269 | } | |
270 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(3, active0); |
271 | } | |
272 | ||
273 | private int jjMoveStringLiteralDfa5_0(long old0, long active0) { | |
274 |
2
1. jjMoveStringLiteralDfa5_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa5_0 : negated conditional → NO_COVERAGE |
if (((active0 &= old0)) == 0L) |
275 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(3, old0); |
276 | try { | |
277 | curChar = input_stream.readChar(); | |
278 | } catch (java.io.IOException e) { | |
279 | jjStopStringLiteralDfa_0(4, active0); | |
280 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 5; |
281 | } | |
282 | switch (curChar) { | |
283 | case 69: | |
284 | case 101: | |
285 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa6_0(active0, 0x40000L); |
286 | case 76: | |
287 | case 108: | |
288 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa6_0(active0, 0x800000L); |
289 | case 78: | |
290 | case 110: | |
291 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa6_0(active0, 0x200000L); |
292 | case 82: | |
293 | case 114: | |
294 |
2
1. jjMoveStringLiteralDfa5_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa5_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x80000L) != 0L) |
295 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(5, 19); |
296 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa6_0(active0, 0x400000L); |
297 | default: | |
298 | break; | |
299 | } | |
300 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(4, active0); |
301 | } | |
302 | ||
303 | private int jjMoveStringLiteralDfa6_0(long old0, long active0) { | |
304 |
2
1. jjMoveStringLiteralDfa6_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa6_0 : negated conditional → NO_COVERAGE |
if (((active0 &= old0)) == 0L) |
305 |
1
1. jjMoveStringLiteralDfa6_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(4, old0); |
306 | try { | |
307 | curChar = input_stream.readChar(); | |
308 | } catch (java.io.IOException e) { | |
309 | jjStopStringLiteralDfa_0(5, active0); | |
310 |
1
1. jjMoveStringLiteralDfa6_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 6; |
311 | } | |
312 | switch (curChar) { | |
313 | case 82: | |
314 | case 114: | |
315 |
2
1. jjMoveStringLiteralDfa6_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa6_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x40000L) != 0L) |
316 |
1
1. jjMoveStringLiteralDfa6_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(6, 18); |
317 | break; | |
318 | case 84: | |
319 | case 116: | |
320 |
2
1. jjMoveStringLiteralDfa6_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa6_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x800000L) != 0L) |
321 |
1
1. jjMoveStringLiteralDfa6_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(6, 23); |
322 |
1
1. jjMoveStringLiteralDfa6_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa7_0(active0, 0x600000L); |
323 | default: | |
324 | break; | |
325 | } | |
326 |
1
1. jjMoveStringLiteralDfa6_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(5, active0); |
327 | } | |
328 | ||
329 | private int jjMoveStringLiteralDfa7_0(long old0, long active0) { | |
330 |
2
1. jjMoveStringLiteralDfa7_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa7_0 : negated conditional → NO_COVERAGE |
if (((active0 &= old0)) == 0L) |
331 |
1
1. jjMoveStringLiteralDfa7_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(5, old0); |
332 | try { | |
333 | curChar = input_stream.readChar(); | |
334 | } catch (java.io.IOException e) { | |
335 | jjStopStringLiteralDfa_0(6, active0); | |
336 |
1
1. jjMoveStringLiteralDfa7_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 7; |
337 | } | |
338 | switch (curChar) { | |
339 | case 83: | |
340 | case 115: | |
341 |
2
1. jjMoveStringLiteralDfa7_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa7_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x200000L) != 0L) |
342 |
1
1. jjMoveStringLiteralDfa7_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(7, 21); |
343 | break; | |
344 | case 89: | |
345 | case 121: | |
346 |
2
1. jjMoveStringLiteralDfa7_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa7_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x400000L) != 0L) |
347 |
1
1. jjMoveStringLiteralDfa7_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(7, 22); |
348 | break; | |
349 | default: | |
350 | break; | |
351 | } | |
352 |
1
1. jjMoveStringLiteralDfa7_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(6, active0); |
353 | } | |
354 | ||
355 | static final long[] jjbitVec0 = { 0x0L, 0x0L, 0xffffffffffffffffL, | |
356 | 0xffffffffffffffffL }; | |
357 | ||
358 | private int jjMoveNfa_0(int startState, int curPos) { | |
359 | int startsAt = 0; | |
360 | jjnewStateCnt = 55; | |
361 | int i = 1; | |
362 | jjstateSet[0] = startState; | |
363 | int kind = 0x7fffffff; | |
364 | for (;;) { | |
365 |
2
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (++jjround == 0x7fffffff) |
366 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::ReInitRounds → NO_COVERAGE |
ReInitRounds(); |
367 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar < 64) { |
368 |
1
1. jjMoveNfa_0 : Replaced Shift Left with Shift Right → NO_COVERAGE |
long l = 1L << curChar; |
369 | do { | |
370 |
1
1. jjMoveNfa_0 : Changed increment from -1 to 1 → NO_COVERAGE |
switch (jjstateSet[--i]) { |
371 | case 6: | |
372 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x3ff000000000000L & l) != 0L) { |
373 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 24) |
374 | kind = 24; | |
375 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddStates → NO_COVERAGE |
jjCheckNAddStates(0, 2); |
376 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
} else if ((0x280000000000L & l) != 0L) |
377 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(11); |
378 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
else if (curChar == 39) |
379 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(20, 21); |
380 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
else if (curChar == 34) |
381 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddStates → NO_COVERAGE |
jjCheckNAddStates(3, 5); |
382 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
else if (curChar == 59) |
383 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(8, 9); |
384 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
else if (curChar == 47) |
385 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 0; |
386 | break; | |
387 | case 0: | |
388 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 42) |
389 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddStates → NO_COVERAGE |
jjCheckNAddStates(6, 8); |
390 | break; | |
391 | case 1: | |
392 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0xfffffbffffffffffL & l) != 0L) |
393 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddStates → NO_COVERAGE |
jjCheckNAddStates(6, 8); |
394 | break; | |
395 | case 2: | |
396 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 42) |
397 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 3; |
398 | break; | |
399 | case 3: | |
400 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0xffff7fffffffffffL & l) != 0L) |
401 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddStates → NO_COVERAGE |
jjCheckNAddStates(6, 8); |
402 | break; | |
403 | case 4: | |
404 |
3
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE 3. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 47 && kind > 5) |
405 | kind = 5; | |
406 | break; | |
407 | case 5: | |
408 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 42) |
409 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 4; |
410 | break; | |
411 | case 7: | |
412 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 59) |
413 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(8, 9); |
414 | break; | |
415 | case 8: | |
416 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0xffffffffffffdbffL & l) != 0L) |
417 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(8, 9); |
418 | break; | |
419 | case 9: | |
420 |
4
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 3. jjMoveNfa_0 : negated conditional → NO_COVERAGE 4. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x2400L & l) != 0L && kind > 6) |
421 | kind = 6; | |
422 | break; | |
423 | case 10: | |
424 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x280000000000L & l) != 0L) |
425 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(11); |
426 | break; | |
427 | case 11: | |
428 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x3ff000000000000L & l) == 0L) |
429 | break; | |
430 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 25) |
431 | kind = 25; | |
432 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(11, 12); |
433 | break; | |
434 | case 12: | |
435 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 46) |
436 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(13); |
437 | break; | |
438 | case 13: | |
439 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x3ff000000000000L & l) == 0L) |
440 | break; | |
441 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 25) |
442 | kind = 25; | |
443 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(13); |
444 | break; | |
445 | case 14: | |
446 | case 16: | |
447 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 34) |
448 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddStates → NO_COVERAGE |
jjCheckNAddStates(3, 5); |
449 | break; | |
450 | case 15: | |
451 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0xfffffffbffffffffL & l) != 0L) |
452 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddStates → NO_COVERAGE |
jjCheckNAddStates(3, 5); |
453 | break; | |
454 | case 18: | |
455 |
3
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE 3. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 34 && kind > 26) |
456 | kind = 26; | |
457 | break; | |
458 | case 19: | |
459 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 39) |
460 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(20, 21); |
461 | break; | |
462 | case 20: | |
463 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0xffffff7fffffffffL & l) != 0L) |
464 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(20, 21); |
465 | break; | |
466 | case 21: | |
467 |
3
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE 3. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 39 && kind > 26) |
468 | kind = 26; | |
469 | break; | |
470 | case 53: | |
471 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x3ff000000000000L & l) == 0L) |
472 | break; | |
473 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 24) |
474 | kind = 24; | |
475 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddStates → NO_COVERAGE |
jjCheckNAddStates(0, 2); |
476 | break; | |
477 | case 54: | |
478 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x3ff000000000000L & l) == 0L) |
479 | break; | |
480 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 24) |
481 | kind = 24; | |
482 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(54); |
483 | break; | |
484 | default: | |
485 | break; | |
486 | } | |
487 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
} while (i != startsAt); |
488 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
} else if (curChar < 128) { |
489 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : Replaced Shift Left with Shift Right → NO_COVERAGE |
long l = 1L << (curChar & 077); |
490 | do { | |
491 |
1
1. jjMoveNfa_0 : Changed increment from -1 to 1 → NO_COVERAGE |
switch (jjstateSet[--i]) { |
492 | case 6: | |
493 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x8000000080000L & l) != 0L) |
494 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(9, 10); |
495 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
else if ((0x20000000200L & l) != 0L) |
496 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 43; |
497 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
else if ((0x100000001000L & l) != 0L) |
498 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 41; |
499 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
else if ((0x1000000010L & l) != 0L) |
500 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 35; |
501 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
else if ((0x800000008L & l) != 0L) |
502 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 29; |
503 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
else if ((0x400000004L & l) != 0L) |
504 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 24; |
505 | break; | |
506 | case 1: | |
507 | case 3: | |
508 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddStates → NO_COVERAGE |
jjCheckNAddStates(6, 8); |
509 | break; | |
510 | case 8: | |
511 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(11, 12); |
512 | break; | |
513 | case 15: | |
514 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(3, 5); |
515 | break; | |
516 | case 17: | |
517 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 92) |
518 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 16; |
519 | break; | |
520 | case 20: | |
521 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(13, 14); |
522 | break; | |
523 | case 22: | |
524 |
4
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 3. jjMoveNfa_0 : negated conditional → NO_COVERAGE 4. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x100000001000L & l) != 0L && kind > 27) |
525 | kind = 27; | |
526 | break; | |
527 | case 23: | |
528 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x800000008000L & l) != 0L) |
529 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 22; |
530 | break; | |
531 | case 24: | |
532 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x800000008000L & l) != 0L) |
533 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 23; |
534 | break; | |
535 | case 25: | |
536 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x400000004L & l) != 0L) |
537 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 24; |
538 | break; | |
539 | case 26: | |
540 |
4
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 3. jjMoveNfa_0 : negated conditional → NO_COVERAGE 4. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x4000000040000L & l) != 0L && kind > 27) |
541 | kind = 27; | |
542 | break; | |
543 | case 27: | |
544 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x800000008000L & l) != 0L) |
545 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 26; |
546 | break; | |
547 | case 28: | |
548 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x100000001000L & l) != 0L) |
549 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 27; |
550 | break; | |
551 | case 29: | |
552 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x800000008000L & l) != 0L) |
553 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 28; |
554 | break; | |
555 | case 30: | |
556 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x800000008L & l) != 0L) |
557 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 29; |
558 | break; | |
559 | case 31: | |
560 |
4
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 3. jjMoveNfa_0 : negated conditional → NO_COVERAGE 4. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x2000000020L & l) != 0L && kind > 27) |
561 | kind = 27; | |
562 | break; | |
563 | case 32: | |
564 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x100000001000L & l) != 0L) |
565 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(31); |
566 | break; | |
567 | case 33: | |
568 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x400000004L & l) != 0L) |
569 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 32; |
570 | break; | |
571 | case 34: | |
572 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x20000000200000L & l) != 0L) |
573 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 33; |
574 | break; | |
575 | case 35: | |
576 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x800000008000L & l) != 0L) |
577 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 34; |
578 | break; | |
579 | case 36: | |
580 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x1000000010L & l) != 0L) |
581 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 35; |
582 | break; | |
583 | case 37: | |
584 |
4
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 3. jjMoveNfa_0 : negated conditional → NO_COVERAGE 4. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x10000000100000L & l) != 0L && kind > 27) |
585 | kind = 27; | |
586 | break; | |
587 | case 38: | |
588 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x20000000200000L & l) != 0L) |
589 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(37); |
590 | break; | |
591 | case 39: | |
592 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x800000008000L & l) != 0L) |
593 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 38; |
594 | break; | |
595 | case 40: | |
596 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x200000002000000L & l) != 0L) |
597 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 39; |
598 | break; | |
599 | case 41: | |
600 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x200000002L & l) != 0L) |
601 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 40; |
602 | break; | |
603 | case 42: | |
604 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x100000001000L & l) != 0L) |
605 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 41; |
606 | break; | |
607 | case 43: | |
608 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x400000004000L & l) != 0L) |
609 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(37); |
610 | break; | |
611 | case 44: | |
612 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x20000000200L & l) != 0L) |
613 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 43; |
614 | break; | |
615 | case 45: | |
616 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x8000000080000L & l) != 0L) |
617 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(9, 10); |
618 | break; | |
619 | case 46: | |
620 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x400000004000000L & l) != 0L) |
621 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(31); |
622 | break; | |
623 | case 47: | |
624 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x20000000200L & l) != 0L) |
625 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 46; |
626 | break; | |
627 | case 48: | |
628 |
4
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 3. jjMoveNfa_0 : negated conditional → NO_COVERAGE 4. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x8000000080L & l) != 0L && kind > 27) |
629 | kind = 27; | |
630 | break; | |
631 | case 49: | |
632 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x400000004000L & l) != 0L) |
633 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 48; |
634 | break; | |
635 | case 50: | |
636 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x20000000200L & l) != 0L) |
637 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 49; |
638 | break; | |
639 | case 51: | |
640 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x4000000040000L & l) != 0L) |
641 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 50; |
642 | break; | |
643 | case 52: | |
644 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x10000000100000L & l) != 0L) |
645 |
1
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = 51; |
646 | break; | |
647 | default: | |
648 | break; | |
649 | } | |
650 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
} while (i != startsAt); |
651 | } else { | |
652 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : Replaced Shift Right with Shift Left → NO_COVERAGE |
int i2 = (curChar & 0xff) >> 6; |
653 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : Replaced Shift Left with Shift Right → NO_COVERAGE |
long l2 = 1L << (curChar & 077); |
654 | do { | |
655 |
1
1. jjMoveNfa_0 : Changed increment from -1 to 1 → NO_COVERAGE |
switch (jjstateSet[--i]) { |
656 | case 1: | |
657 | case 3: | |
658 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((jjbitVec0[i2] & l2) != 0L) |
659 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAddStates → NO_COVERAGE |
jjCheckNAddStates(6, 8); |
660 | break; | |
661 | case 8: | |
662 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((jjbitVec0[i2] & l2) != 0L) |
663 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(11, 12); |
664 | break; | |
665 | case 15: | |
666 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((jjbitVec0[i2] & l2) != 0L) |
667 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(3, 5); |
668 | break; | |
669 | case 20: | |
670 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((jjbitVec0[i2] & l2) != 0L) |
671 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(13, 14); |
672 | break; | |
673 | default: | |
674 | break; | |
675 | } | |
676 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
} while (i != startsAt); |
677 | } | |
678 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind != 0x7fffffff) { |
679 | jjmatchedKind = kind; | |
680 | jjmatchedPos = curPos; | |
681 | kind = 0x7fffffff; | |
682 | } | |
683 |
1
1. jjMoveNfa_0 : Changed increment from 1 to -1 → NO_COVERAGE |
++curPos; |
684 |
2
1. jjMoveNfa_0 : Replaced integer subtraction with addition → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((i = jjnewStateCnt) == (startsAt = 55 - (jjnewStateCnt = startsAt))) |
685 |
1
1. jjMoveNfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return curPos; |
686 | try { | |
687 | curChar = input_stream.readChar(); | |
688 | } catch (java.io.IOException e) { | |
689 |
1
1. jjMoveNfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return curPos; |
690 | } | |
691 | } | |
692 | } | |
693 | ||
694 | static final int[] jjnextStates = { 54, 11, 12, 15, 17, 18, 1, 2, 5, 47, | |
695 | 52, 8, 9, 20, 21, }; | |
696 | ||
697 | /** Token literal values. */ | |
698 | public static final String[] jjstrLiteralImages = { "", null, null, null, | |
699 | null, null, null, null, null, null, "\50", "\51", null, null, null, | |
700 | null, null, null, null, null, null, null, null, null, null, null, | |
701 | null, null, }; | |
702 | ||
703 | /** Lexer state names. */ | |
704 | public static final String[] lexStateNames = { "DEFAULT", }; | |
705 | static final long[] jjtoToken = { 0xffffc01L, }; | |
706 | static final long[] jjtoSkip = { 0x7eL, }; | |
707 | protected SimpleCharStream input_stream; | |
708 | private final int[] jjrounds = new int[55]; | |
709 | private final int[] jjstateSet = new int[110]; | |
710 | protected char curChar; | |
711 | ||
712 | /** Constructor. */ | |
713 | public TLPParserTokenManager(SimpleCharStream stream) { | |
714 | if (SimpleCharStream.staticFlag) | |
715 | throw new Error( | |
716 | "ERROR: Cannot use a static CharStream class with a non-static lexical analyzer."); | |
717 | input_stream = stream; | |
718 | } | |
719 | ||
720 | /** Constructor. */ | |
721 | public TLPParserTokenManager(SimpleCharStream stream, int lexState) { | |
722 | this(stream); | |
723 |
1
1. |
SwitchTo(lexState); |
724 | } | |
725 | ||
726 | /** Reinitialise parser. */ | |
727 | public void ReInit(SimpleCharStream stream) { | |
728 | jjmatchedPos = jjnewStateCnt = 0; | |
729 | curLexState = defaultLexState; | |
730 | input_stream = stream; | |
731 |
1
1. ReInit : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::ReInitRounds → NO_COVERAGE |
ReInitRounds(); |
732 | } | |
733 | ||
734 | private void ReInitRounds() { | |
735 | int i; | |
736 | jjround = 0x80000001; | |
737 |
3
1. ReInitRounds : changed conditional boundary → NO_COVERAGE 2. ReInitRounds : Changed increment from -1 to 1 → NO_COVERAGE 3. ReInitRounds : negated conditional → NO_COVERAGE |
for (i = 55; i-- > 0;) |
738 | jjrounds[i] = 0x80000000; | |
739 | } | |
740 | ||
741 | /** Reinitialise parser. */ | |
742 | public void ReInit(SimpleCharStream stream, int lexState) { | |
743 |
1
1. ReInit : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::ReInit → NO_COVERAGE |
ReInit(stream); |
744 |
1
1. ReInit : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::SwitchTo → NO_COVERAGE |
SwitchTo(lexState); |
745 | } | |
746 | ||
747 | /** Switch to specified lex state. */ | |
748 | public void SwitchTo(int lexState) { | |
749 |
4
1. SwitchTo : changed conditional boundary → NO_COVERAGE 2. SwitchTo : changed conditional boundary → NO_COVERAGE 3. SwitchTo : negated conditional → NO_COVERAGE 4. SwitchTo : negated conditional → NO_COVERAGE |
if (lexState >= 1 || lexState < 0) |
750 | throw new TokenMgrError("Error: Ignoring invalid lexical state : " | |
751 | + lexState + ". State unchanged.", | |
752 | TokenMgrError.INVALID_LEXICAL_STATE); | |
753 | else | |
754 | curLexState = lexState; | |
755 | } | |
756 | ||
757 | protected Token jjFillToken() { | |
758 | final Token t; | |
759 | final String curTokenImage; | |
760 | final int beginLine; | |
761 | final int endLine; | |
762 | final int beginColumn; | |
763 | final int endColumn; | |
764 | String im = jjstrLiteralImages[jjmatchedKind]; | |
765 |
1
1. jjFillToken : negated conditional → NO_COVERAGE |
curTokenImage = (im == null) ? input_stream.GetImage() : im; |
766 | beginLine = input_stream.getBeginLine(); | |
767 | beginColumn = input_stream.getBeginColumn(); | |
768 | endLine = input_stream.getEndLine(); | |
769 | endColumn = input_stream.getEndColumn(); | |
770 | t = Token.newToken(jjmatchedKind, curTokenImage); | |
771 | ||
772 | t.beginLine = beginLine; | |
773 | t.endLine = endLine; | |
774 | t.beginColumn = beginColumn; | |
775 | t.endColumn = endColumn; | |
776 | ||
777 |
1
1. jjFillToken : mutated return of Object value for org/graphstream/stream/file/tlp/TLPParserTokenManager::jjFillToken to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return t; |
778 | } | |
779 | ||
780 | int curLexState = 0; | |
781 | int defaultLexState = 0; | |
782 | int jjnewStateCnt; | |
783 | int jjround; | |
784 | int jjmatchedPos; | |
785 | int jjmatchedKind; | |
786 | ||
787 | /** Get the next Token. */ | |
788 | public Token getNextToken() { | |
789 | Token matchedToken; | |
790 | int curPos = 0; | |
791 | ||
792 | EOFLoop: for (;;) { | |
793 | try { | |
794 | curChar = input_stream.BeginToken(); | |
795 | } catch (java.io.IOException e) { | |
796 | jjmatchedKind = 0; | |
797 | matchedToken = jjFillToken(); | |
798 |
1
1. getNextToken : mutated return of Object value for org/graphstream/stream/file/tlp/TLPParserTokenManager::getNextToken to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return matchedToken; |
799 | } | |
800 | ||
801 | try { | |
802 |
1
1. getNextToken : removed call to org/graphstream/util/parser/SimpleCharStream::backup → NO_COVERAGE |
input_stream.backup(0); |
803 |
5
1. getNextToken : changed conditional boundary → NO_COVERAGE 2. getNextToken : Replaced Shift Left with Shift Right → NO_COVERAGE 3. getNextToken : Replaced bitwise AND with OR → NO_COVERAGE 4. getNextToken : negated conditional → NO_COVERAGE 5. getNextToken : negated conditional → NO_COVERAGE |
while (curChar <= 32 && (0x100002600L & (1L << curChar)) != 0L) |
804 | curChar = input_stream.BeginToken(); | |
805 | } catch (java.io.IOException e1) { | |
806 | continue EOFLoop; | |
807 | } | |
808 | jjmatchedKind = 0x7fffffff; | |
809 | jjmatchedPos = 0; | |
810 | curPos = jjMoveStringLiteralDfa0_0(); | |
811 |
1
1. getNextToken : negated conditional → NO_COVERAGE |
if (jjmatchedKind != 0x7fffffff) { |
812 |
3
1. getNextToken : changed conditional boundary → NO_COVERAGE 2. getNextToken : Replaced integer addition with subtraction → NO_COVERAGE 3. getNextToken : negated conditional → NO_COVERAGE |
if (jjmatchedPos + 1 < curPos) |
813 |
3
1. getNextToken : Replaced integer subtraction with addition → NO_COVERAGE 2. getNextToken : Replaced integer subtraction with addition → NO_COVERAGE 3. getNextToken : removed call to org/graphstream/util/parser/SimpleCharStream::backup → NO_COVERAGE |
input_stream.backup(curPos - jjmatchedPos - 1); |
814 |
5
1. getNextToken : Replaced Shift Right with Shift Left → NO_COVERAGE 2. getNextToken : Replaced bitwise AND with OR → NO_COVERAGE 3. getNextToken : Replaced Shift Left with Shift Right → NO_COVERAGE 4. getNextToken : Replaced bitwise AND with OR → NO_COVERAGE 5. getNextToken : negated conditional → NO_COVERAGE |
if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { |
815 | matchedToken = jjFillToken(); | |
816 |
1
1. getNextToken : mutated return of Object value for org/graphstream/stream/file/tlp/TLPParserTokenManager::getNextToken to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return matchedToken; |
817 | } else { | |
818 | continue EOFLoop; | |
819 | } | |
820 | } | |
821 | int error_line = input_stream.getEndLine(); | |
822 | int error_column = input_stream.getEndColumn(); | |
823 | String error_after = null; | |
824 | boolean EOFSeen = false; | |
825 | try { | |
826 | input_stream.readChar(); | |
827 |
1
1. getNextToken : removed call to org/graphstream/util/parser/SimpleCharStream::backup → NO_COVERAGE |
input_stream.backup(1); |
828 | } catch (java.io.IOException e1) { | |
829 | EOFSeen = true; | |
830 |
2
1. getNextToken : changed conditional boundary → NO_COVERAGE 2. getNextToken : negated conditional → NO_COVERAGE |
error_after = curPos <= 1 ? "" : input_stream.GetImage(); |
831 |
2
1. getNextToken : negated conditional → NO_COVERAGE 2. getNextToken : negated conditional → NO_COVERAGE |
if (curChar == '\n' || curChar == '\r') { |
832 |
1
1. getNextToken : Changed increment from 1 to -1 → NO_COVERAGE |
error_line++; |
833 | error_column = 0; | |
834 | } else | |
835 |
1
1. getNextToken : Changed increment from 1 to -1 → NO_COVERAGE |
error_column++; |
836 | } | |
837 |
1
1. getNextToken : negated conditional → NO_COVERAGE |
if (!EOFSeen) { |
838 |
1
1. getNextToken : removed call to org/graphstream/util/parser/SimpleCharStream::backup → NO_COVERAGE |
input_stream.backup(1); |
839 |
2
1. getNextToken : changed conditional boundary → NO_COVERAGE 2. getNextToken : negated conditional → NO_COVERAGE |
error_after = curPos <= 1 ? "" : input_stream.GetImage(); |
840 | } | |
841 | throw new TokenMgrError(EOFSeen, curLexState, error_line, | |
842 | error_column, error_after, curChar, | |
843 | TokenMgrError.LEXICAL_ERROR); | |
844 | } | |
845 | } | |
846 | ||
847 | private void jjCheckNAdd(int state) { | |
848 |
1
1. jjCheckNAdd : negated conditional → NO_COVERAGE |
if (jjrounds[state] != jjround) { |
849 |
1
1. jjCheckNAdd : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = state; |
850 | jjrounds[state] = jjround; | |
851 | } | |
852 | } | |
853 | ||
854 | private void jjAddStates(int start, int end) { | |
855 | do { | |
856 |
1
1. jjAddStates : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = jjnextStates[start]; |
857 |
2
1. jjAddStates : Changed increment from 1 to -1 → NO_COVERAGE 2. jjAddStates : negated conditional → NO_COVERAGE |
} while (start++ != end); |
858 | } | |
859 | ||
860 | private void jjCheckNAddTwoStates(int state1, int state2) { | |
861 |
1
1. jjCheckNAddTwoStates : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(state1); |
862 |
1
1. jjCheckNAddTwoStates : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(state2); |
863 | } | |
864 | ||
865 | private void jjCheckNAddStates(int start, int end) { | |
866 | do { | |
867 |
1
1. jjCheckNAddStates : removed call to org/graphstream/stream/file/tlp/TLPParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(jjnextStates[start]); |
868 |
2
1. jjCheckNAddStates : Changed increment from 1 to -1 → NO_COVERAGE 2. jjCheckNAddStates : negated conditional → NO_COVERAGE |
} while (start++ != end); |
869 | } | |
870 | ||
871 | } | |
Mutations | ||
52 |
1.1 2.2 |
|
53 |
1.1 |
|
54 |
1.1 2.2 |
|
55 |
1.1 |
|
56 |
1.1 |
|
58 |
1.1 2.2 |
|
59 |
1.1 |
|
60 |
1.1 |
|
62 |
1.1 |
|
67 |
1.1 2.2 |
|
73 |
1.1 2.2 |
|
79 |
1.1 |
|
81 |
1.1 |
|
84 |
1.1 |
|
87 |
1.1 |
|
90 |
1.1 |
|
93 |
1.1 |
|
96 |
1.1 |
|
99 |
1.1 |
|
102 |
1.1 |
|
105 |
1.1 |
|
107 |
1.1 |
|
116 |
1.1 |
|
121 |
1.1 |
|
124 |
1.1 |
|
127 |
1.1 |
|
130 |
1.1 |
|
133 |
1.1 |
|
136 |
1.1 |
|
139 |
1.1 |
|
143 |
1.1 |
|
147 |
1.1 2.2 |
|
148 |
1.1 |
|
153 |
1.1 |
|
158 |
1.1 |
|
161 |
1.1 |
|
164 |
1.1 |
|
167 |
1.1 |
|
170 |
1.1 |
|
173 |
1.1 |
|
176 |
1.1 2.2 |
|
177 |
1.1 |
|
181 |
1.1 |
|
184 |
1.1 |
|
188 |
1.1 |
|
192 |
1.1 2.2 |
|
193 |
1.1 |
|
198 |
1.1 |
|
203 |
1.1 |
|
206 |
1.1 2.2 |
|
209 |
1.1 2.2 |
|
212 |
1.1 2.2 |
|
213 |
1.1 |
|
214 |
1.1 |
|
217 |
1.1 |
|
220 |
1.1 |
|
223 |
1.1 |
|
226 |
1.1 |
|
230 |
1.1 |
|
234 |
1.1 2.2 |
|
235 |
1.1 |
|
240 |
1.1 |
|
245 |
1.1 |
|
248 |
1.1 2.2 |
|
249 |
1.1 |
|
253 |
1.1 |
|
256 |
1.1 2.2 |
|
257 |
1.1 |
|
258 |
1.1 2.2 |
|
259 |
1.1 |
|
263 |
1.1 |
|
266 |
1.1 |
|
270 |
1.1 |
|
274 |
1.1 2.2 |
|
275 |
1.1 |
|
280 |
1.1 |
|
285 |
1.1 |
|
288 |
1.1 |
|
291 |
1.1 |
|
294 |
1.1 2.2 |
|
295 |
1.1 |
|
296 |
1.1 |
|
300 |
1.1 |
|
304 |
1.1 2.2 |
|
305 |
1.1 |
|
310 |
1.1 |
|
315 |
1.1 2.2 |
|
316 |
1.1 |
|
320 |
1.1 2.2 |
|
321 |
1.1 |
|
322 |
1.1 |
|
326 |
1.1 |
|
330 |
1.1 2.2 |
|
331 |
1.1 |
|
336 |
1.1 |
|
341 |
1.1 2.2 |
|
342 |
1.1 |
|
346 |
1.1 2.2 |
|
347 |
1.1 |
|
352 |
1.1 |
|
365 |
1.1 2.2 |
|
366 |
1.1 |
|
367 |
1.1 2.2 |
|
368 |
1.1 |
|
370 |
1.1 |
|
372 |
1.1 2.2 |
|
373 |
1.1 2.2 |
|
375 |
1.1 |
|
376 |
1.1 2.2 |
|
377 |
1.1 |
|
378 |
1.1 |
|
379 |
1.1 |
|
380 |
1.1 |
|
381 |
1.1 |
|
382 |
1.1 |
|
383 |
1.1 |
|
384 |
1.1 |
|
385 |
1.1 |
|
388 |
1.1 |
|
389 |
1.1 |
|
392 |
1.1 2.2 |
|
393 |
1.1 |
|
396 |
1.1 |
|
397 |
1.1 |
|
400 |
1.1 2.2 |
|
401 |
1.1 |
|
404 |
1.1 2.2 3.3 |
|
408 |
1.1 |
|
409 |
1.1 |
|
412 |
1.1 |
|
413 |
1.1 |
|
416 |
1.1 2.2 |
|
417 |
1.1 |
|
420 |
1.1 2.2 3.3 4.4 |
|
424 |
1.1 2.2 |
|
425 |
1.1 |
|
428 |
1.1 2.2 |
|
430 |
1.1 2.2 |
|
432 |
1.1 |
|
435 |
1.1 |
|
436 |
1.1 |
|
439 |
1.1 2.2 |
|
441 |
1.1 2.2 |
|
443 |
1.1 |
|
447 |
1.1 |
|
448 |
1.1 |
|
451 |
1.1 2.2 |
|
452 |
1.1 |
|
455 |
1.1 2.2 3.3 |
|
459 |
1.1 |
|
460 |
1.1 |
|
463 |
1.1 2.2 |
|
464 |
1.1 |
|
467 |
1.1 2.2 3.3 |
|
471 |
1.1 2.2 |
|
473 |
1.1 2.2 |
|
475 |
1.1 |
|
478 |
1.1 2.2 |
|
480 |
1.1 2.2 |
|
482 |
1.1 |
|
487 |
1.1 |
|
488 |
1.1 2.2 |
|
489 |
1.1 2.2 |
|
491 |
1.1 |
|
493 |
1.1 2.2 |
|
494 |
1.1 |
|
495 |
1.1 2.2 |
|
496 |
1.1 |
|
497 |
1.1 2.2 |
|
498 |
1.1 |
|
499 |
1.1 2.2 |
|
500 |
1.1 |
|
501 |
1.1 2.2 |
|
502 |
1.1 |
|
503 |
1.1 2.2 |
|
504 |
1.1 |
|
508 |
1.1 |
|
511 |
1.1 |
|
514 |
1.1 |
|
517 |
1.1 |
|
518 |
1.1 |
|
521 |
1.1 |
|
524 |
1.1 2.2 3.3 4.4 |
|
528 |
1.1 2.2 |
|
529 |
1.1 |
|
532 |
1.1 2.2 |
|
533 |
1.1 |
|
536 |
1.1 2.2 |
|
537 |
1.1 |
|
540 |
1.1 2.2 3.3 4.4 |
|
544 |
1.1 2.2 |
|
545 |
1.1 |
|
548 |
1.1 2.2 |
|
549 |
1.1 |
|
552 |
1.1 2.2 |
|
553 |
1.1 |
|
556 |
1.1 2.2 |
|
557 |
1.1 |
|
560 |
1.1 2.2 3.3 4.4 |
|
564 |
1.1 2.2 |
|
565 |
1.1 |
|
568 |
1.1 2.2 |
|
569 |
1.1 |
|
572 |
1.1 2.2 |
|
573 |
1.1 |
|
576 |
1.1 2.2 |
|
577 |
1.1 |
|
580 |
1.1 2.2 |
|
581 |
1.1 |
|
584 |
1.1 2.2 3.3 4.4 |
|
588 |
1.1 2.2 |
|
589 |
1.1 |
|
592 |
1.1 2.2 |
|
593 |
1.1 |
|
596 |
1.1 2.2 |
|
597 |
1.1 |
|
600 |
1.1 2.2 |
|
601 |
1.1 |
|
604 |
1.1 2.2 |
|
605 |
1.1 |
|
608 |
1.1 2.2 |
|
609 |
1.1 |
|
612 |
1.1 2.2 |
|
613 |
1.1 |
|
616 |
1.1 2.2 |
|
617 |
1.1 |
|
620 |
1.1 2.2 |
|
621 |
1.1 |
|
624 |
1.1 2.2 |
|
625 |
1.1 |
|
628 |
1.1 2.2 3.3 4.4 |
|
632 |
1.1 2.2 |
|
633 |
1.1 |
|
636 |
1.1 2.2 |
|
637 |
1.1 |
|
640 |
1.1 2.2 |
|
641 |
1.1 |
|
644 |
1.1 2.2 |
|
645 |
1.1 |
|
650 |
1.1 |
|
652 |
1.1 2.2 |
|
653 |
1.1 2.2 |
|
655 |
1.1 |
|
658 |
1.1 2.2 |
|
659 |
1.1 |
|
662 |
1.1 2.2 |
|
663 |
1.1 |
|
666 |
1.1 2.2 |
|
667 |
1.1 |
|
670 |
1.1 2.2 |
|
671 |
1.1 |
|
676 |
1.1 |
|
678 |
1.1 |
|
683 |
1.1 |
|
684 |
1.1 2.2 |
|
685 |
1.1 |
|
689 |
1.1 |
|
723 |
1.1 |
|
731 |
1.1 |
|
737 |
1.1 2.2 3.3 |
|
743 |
1.1 |
|
744 |
1.1 |
|
749 |
1.1 2.2 3.3 4.4 |
|
765 |
1.1 |
|
777 |
1.1 |
|
798 |
1.1 |
|
802 |
1.1 |
|
803 |
1.1 2.2 3.3 4.4 5.5 |
|
811 |
1.1 |
|
812 |
1.1 2.2 3.3 |
|
813 |
1.1 2.2 3.3 |
|
814 |
1.1 2.2 3.3 4.4 5.5 |
|
816 |
1.1 |
|
827 |
1.1 |
|
830 |
1.1 2.2 |
|
831 |
1.1 2.2 |
|
832 |
1.1 |
|
835 |
1.1 |
|
837 |
1.1 |
|
838 |
1.1 |
|
839 |
1.1 2.2 |
|
848 |
1.1 |
|
849 |
1.1 |
|
856 |
1.1 |
|
857 |
1.1 2.2 |
|
861 |
1.1 |
|
862 |
1.1 |
|
867 |
1.1 |
|
868 |
1.1 2.2 |