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.gml; | |
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 GMLParserTokenManager implements GMLParserConstants { | |
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 & 0x3000L) != 0L) { |
53 | jjmatchedKind = 14; | |
54 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 11; |
55 | } | |
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 & 0x3000L) != 0L) { |
59 | jjmatchedKind = 14; | |
60 | jjmatchedPos = 1; | |
61 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 11; |
62 | } | |
63 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return -1; |
64 | case 2: | |
65 |
2
1. jjStopStringLiteralDfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjStopStringLiteralDfa_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x3000L) != 0L) { |
66 | jjmatchedKind = 14; | |
67 | jjmatchedPos = 2; | |
68 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 11; |
69 | } | |
70 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return -1; |
71 | case 3: | |
72 |
2
1. jjStopStringLiteralDfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjStopStringLiteralDfa_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x3000L) != 0L) { |
73 | jjmatchedKind = 14; | |
74 | jjmatchedPos = 3; | |
75 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 11; |
76 | } | |
77 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return -1; |
78 | case 4: | |
79 |
2
1. jjStopStringLiteralDfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjStopStringLiteralDfa_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x1000L) != 0L) |
80 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 11; |
81 |
2
1. jjStopStringLiteralDfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjStopStringLiteralDfa_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x2000L) != 0L) { |
82 | jjmatchedKind = 14; | |
83 | jjmatchedPos = 4; | |
84 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 11; |
85 | } | |
86 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return -1; |
87 | case 5: | |
88 |
2
1. jjStopStringLiteralDfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjStopStringLiteralDfa_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x2000L) != 0L) { |
89 | jjmatchedKind = 14; | |
90 | jjmatchedPos = 5; | |
91 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 11; |
92 | } | |
93 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return -1; |
94 | default: | |
95 |
1
1. jjStopStringLiteralDfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return -1; |
96 | } | |
97 | } | |
98 | ||
99 | private final int jjStartNfa_0(int pos, long active0) { | |
100 |
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); |
101 | } | |
102 | ||
103 | private int jjStopAtPos(int pos, int kind) { | |
104 | jjmatchedKind = kind; | |
105 | jjmatchedPos = pos; | |
106 |
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; |
107 | } | |
108 | ||
109 | private int jjMoveStringLiteralDfa0_0() { | |
110 | switch (curChar) { | |
111 | case 91: | |
112 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(0, 8); |
113 | case 93: | |
114 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStopAtPos(0, 9); |
115 | case 68: | |
116 | case 100: | |
117 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa1_0(0x2000L); |
118 | case 71: | |
119 | case 103: | |
120 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa1_0(0x1000L); |
121 | default: | |
122 |
1
1. jjMoveStringLiteralDfa0_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveNfa_0(0, 0); |
123 | } | |
124 | } | |
125 | ||
126 | private int jjMoveStringLiteralDfa1_0(long active0) { | |
127 | try { | |
128 | curChar = input_stream.readChar(); | |
129 | } catch (java.io.IOException e) { | |
130 | jjStopStringLiteralDfa_0(0, active0); | |
131 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 1; |
132 | } | |
133 | switch (curChar) { | |
134 | case 73: | |
135 | case 105: | |
136 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa2_0(active0, 0x2000L); |
137 | case 82: | |
138 | case 114: | |
139 |
1
1. jjMoveStringLiteralDfa1_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa2_0(active0, 0x1000L); |
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, 0x1000L); |
159 | case 71: | |
160 | case 103: | |
161 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa3_0(active0, 0x2000L); |
162 | default: | |
163 | break; | |
164 | } | |
165 |
1
1. jjMoveStringLiteralDfa2_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(1, active0); |
166 | } | |
167 | ||
168 | private int jjMoveStringLiteralDfa3_0(long old0, long active0) { | |
169 |
2
1. jjMoveStringLiteralDfa3_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa3_0 : negated conditional → NO_COVERAGE |
if (((active0 &= old0)) == 0L) |
170 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(1, old0); |
171 | try { | |
172 | curChar = input_stream.readChar(); | |
173 | } catch (java.io.IOException e) { | |
174 | jjStopStringLiteralDfa_0(2, active0); | |
175 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 3; |
176 | } | |
177 | switch (curChar) { | |
178 | case 80: | |
179 | case 112: | |
180 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa4_0(active0, 0x1000L); |
181 | case 82: | |
182 | case 114: | |
183 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa4_0(active0, 0x2000L); |
184 | default: | |
185 | break; | |
186 | } | |
187 |
1
1. jjMoveStringLiteralDfa3_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(2, active0); |
188 | } | |
189 | ||
190 | private int jjMoveStringLiteralDfa4_0(long old0, long active0) { | |
191 |
2
1. jjMoveStringLiteralDfa4_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa4_0 : negated conditional → NO_COVERAGE |
if (((active0 &= old0)) == 0L) |
192 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(2, old0); |
193 | try { | |
194 | curChar = input_stream.readChar(); | |
195 | } catch (java.io.IOException e) { | |
196 | jjStopStringLiteralDfa_0(3, active0); | |
197 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 4; |
198 | } | |
199 | switch (curChar) { | |
200 | case 65: | |
201 | case 97: | |
202 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa5_0(active0, 0x2000L); |
203 | case 72: | |
204 | case 104: | |
205 |
2
1. jjMoveStringLiteralDfa4_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa4_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x1000L) != 0L) |
206 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfaWithStates_0(4, 12, 11); |
207 | break; | |
208 | default: | |
209 | break; | |
210 | } | |
211 |
1
1. jjMoveStringLiteralDfa4_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(3, active0); |
212 | } | |
213 | ||
214 | private int jjMoveStringLiteralDfa5_0(long old0, long active0) { | |
215 |
2
1. jjMoveStringLiteralDfa5_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa5_0 : negated conditional → NO_COVERAGE |
if (((active0 &= old0)) == 0L) |
216 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(3, old0); |
217 | try { | |
218 | curChar = input_stream.readChar(); | |
219 | } catch (java.io.IOException e) { | |
220 | jjStopStringLiteralDfa_0(4, active0); | |
221 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 5; |
222 | } | |
223 | switch (curChar) { | |
224 | case 80: | |
225 | case 112: | |
226 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveStringLiteralDfa6_0(active0, 0x2000L); |
227 | default: | |
228 | break; | |
229 | } | |
230 |
1
1. jjMoveStringLiteralDfa5_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(4, active0); |
231 | } | |
232 | ||
233 | private int jjMoveStringLiteralDfa6_0(long old0, long active0) { | |
234 |
2
1. jjMoveStringLiteralDfa6_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa6_0 : negated conditional → NO_COVERAGE |
if (((active0 &= old0)) == 0L) |
235 |
1
1. jjMoveStringLiteralDfa6_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(4, old0); |
236 | try { | |
237 | curChar = input_stream.readChar(); | |
238 | } catch (java.io.IOException e) { | |
239 | jjStopStringLiteralDfa_0(5, active0); | |
240 |
1
1. jjMoveStringLiteralDfa6_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return 6; |
241 | } | |
242 | switch (curChar) { | |
243 | case 72: | |
244 | case 104: | |
245 |
2
1. jjMoveStringLiteralDfa6_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveStringLiteralDfa6_0 : negated conditional → NO_COVERAGE |
if ((active0 & 0x2000L) != 0L) |
246 |
1
1. jjMoveStringLiteralDfa6_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfaWithStates_0(6, 13, 11); |
247 | break; | |
248 | default: | |
249 | break; | |
250 | } | |
251 |
1
1. jjMoveStringLiteralDfa6_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjStartNfa_0(5, active0); |
252 | } | |
253 | ||
254 | private int jjStartNfaWithStates_0(int pos, int kind, int state) { | |
255 | jjmatchedKind = kind; | |
256 | jjmatchedPos = pos; | |
257 | try { | |
258 | curChar = input_stream.readChar(); | |
259 | } catch (java.io.IOException e) { | |
260 |
2
1. jjStartNfaWithStates_0 : Replaced integer addition with subtraction → NO_COVERAGE 2. jjStartNfaWithStates_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return pos + 1; |
261 | } | |
262 |
2
1. jjStartNfaWithStates_0 : Replaced integer addition with subtraction → NO_COVERAGE 2. jjStartNfaWithStates_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return jjMoveNfa_0(state, pos + 1); |
263 | } | |
264 | ||
265 | static final long[] jjbitVec0 = { 0x0L, 0x0L, 0xffffffffffffffffL, | |
266 | 0xffffffffffffffffL }; | |
267 | ||
268 | private int jjMoveNfa_0(int startState, int curPos) { | |
269 | int startsAt = 0; | |
270 | jjnewStateCnt = 15; | |
271 | int i = 1; | |
272 | jjstateSet[0] = startState; | |
273 | int kind = 0x7fffffff; | |
274 | for (;;) { | |
275 |
2
1. jjMoveNfa_0 : Replaced integer addition with subtraction → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (++jjround == 0x7fffffff) |
276 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::ReInitRounds → NO_COVERAGE |
ReInitRounds(); |
277 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar < 64) { |
278 |
1
1. jjMoveNfa_0 : Replaced Shift Left with Shift Right → NO_COVERAGE |
long l = 1L << curChar; |
279 | do { | |
280 |
1
1. jjMoveNfa_0 : Changed increment from -1 to 1 → NO_COVERAGE |
switch (jjstateSet[--i]) { |
281 | case 0: | |
282 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x3ff000000000000L & l) != 0L) { |
283 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 10) |
284 | kind = 10; | |
285 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(1, 2); |
286 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
} else if ((0x280000000000L & l) != 0L) { |
287 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 14) |
288 | kind = 14; | |
289 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(11); |
290 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
} else if (curChar == 35) |
291 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(13, 14); |
292 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
else if (curChar == 39) |
293 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(8, 9); |
294 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
else if (curChar == 34) |
295 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(5, 6); |
296 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x280000000000L & l) != 0L) |
297 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(1); |
298 | break; | |
299 | case 1: | |
300 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x3ff000000000000L & l) == 0L) |
301 | break; | |
302 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 10) |
303 | kind = 10; | |
304 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(1, 2); |
305 | break; | |
306 | case 2: | |
307 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 46) |
308 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(3); |
309 | break; | |
310 | case 3: | |
311 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x3ff000000000000L & l) == 0L) |
312 | break; | |
313 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 10) |
314 | kind = 10; | |
315 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(3); |
316 | break; | |
317 | case 4: | |
318 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 34) |
319 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(5, 6); |
320 | break; | |
321 | case 5: | |
322 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0xfffffffbffffffffL & l) != 0L) |
323 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(5, 6); |
324 | break; | |
325 | case 6: | |
326 |
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 > 11) |
327 | kind = 11; | |
328 | break; | |
329 | case 7: | |
330 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 39) |
331 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(8, 9); |
332 | break; | |
333 | case 8: | |
334 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0xffffff7fffffffffL & l) != 0L) |
335 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(8, 9); |
336 | break; | |
337 | case 9: | |
338 |
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 > 11) |
339 | kind = 11; | |
340 | break; | |
341 | case 10: | |
342 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x280000000000L & l) == 0L) |
343 | break; | |
344 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 14) |
345 | kind = 14; | |
346 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(11); |
347 | break; | |
348 | case 11: | |
349 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x3ff200000000000L & l) == 0L) |
350 | break; | |
351 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 14) |
352 | kind = 14; | |
353 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(11); |
354 | break; | |
355 | case 12: | |
356 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (curChar == 35) |
357 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(13, 14); |
358 | break; | |
359 | case 13: | |
360 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0xffffffffffffdbffL & l) != 0L) |
361 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAddTwoStates → NO_COVERAGE |
jjCheckNAddTwoStates(13, 14); |
362 | break; | |
363 | case 14: | |
364 |
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 > 15) |
365 | kind = 15; | |
366 | break; | |
367 | default: | |
368 | break; | |
369 | } | |
370 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
} while (i != startsAt); |
371 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
} else if (curChar < 128) { |
372 |
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); |
373 | do { | |
374 |
1
1. jjMoveNfa_0 : Changed increment from -1 to 1 → NO_COVERAGE |
switch (jjstateSet[--i]) { |
375 | case 0: | |
376 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x7fffffe07fffffeL & l) == 0L) |
377 | break; | |
378 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 14) |
379 | kind = 14; | |
380 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(11); |
381 | break; | |
382 | case 5: | |
383 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(0, 1); |
384 | break; | |
385 | case 8: | |
386 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(2, 3); |
387 | break; | |
388 | case 11: | |
389 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((0x7fffffe87fffffeL & l) == 0L) |
390 | break; | |
391 |
2
1. jjMoveNfa_0 : changed conditional boundary → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind > 14) |
392 | kind = 14; | |
393 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(11); |
394 | break; | |
395 | case 13: | |
396 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(4, 5); |
397 | break; | |
398 | default: | |
399 | break; | |
400 | } | |
401 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
} while (i != startsAt); |
402 | } else { | |
403 |
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; |
404 |
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); |
405 | do { | |
406 |
1
1. jjMoveNfa_0 : Changed increment from -1 to 1 → NO_COVERAGE |
switch (jjstateSet[--i]) { |
407 | case 5: | |
408 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((jjbitVec0[i2] & l2) != 0L) |
409 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(0, 1); |
410 | break; | |
411 | case 8: | |
412 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((jjbitVec0[i2] & l2) != 0L) |
413 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(2, 3); |
414 | break; | |
415 | case 13: | |
416 |
2
1. jjMoveNfa_0 : Replaced bitwise AND with OR → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((jjbitVec0[i2] & l2) != 0L) |
417 |
1
1. jjMoveNfa_0 : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjAddStates → NO_COVERAGE |
jjAddStates(4, 5); |
418 | break; | |
419 | default: | |
420 | break; | |
421 | } | |
422 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
} while (i != startsAt); |
423 | } | |
424 |
1
1. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if (kind != 0x7fffffff) { |
425 | jjmatchedKind = kind; | |
426 | jjmatchedPos = curPos; | |
427 | kind = 0x7fffffff; | |
428 | } | |
429 |
1
1. jjMoveNfa_0 : Changed increment from 1 to -1 → NO_COVERAGE |
++curPos; |
430 |
2
1. jjMoveNfa_0 : Replaced integer subtraction with addition → NO_COVERAGE 2. jjMoveNfa_0 : negated conditional → NO_COVERAGE |
if ((i = jjnewStateCnt) == (startsAt = 15 - (jjnewStateCnt = startsAt))) |
431 |
1
1. jjMoveNfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return curPos; |
432 | try { | |
433 | curChar = input_stream.readChar(); | |
434 | } catch (java.io.IOException e) { | |
435 |
1
1. jjMoveNfa_0 : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return curPos; |
436 | } | |
437 | } | |
438 | } | |
439 | ||
440 | static final int[] jjnextStates = { 5, 6, 8, 9, 13, 14, }; | |
441 | ||
442 | /** Token literal values. */ | |
443 | public static final String[] jjstrLiteralImages = { "", null, null, null, | |
444 | null, null, null, null, "\133", "\135", null, null, null, null, | |
445 | null, null, }; | |
446 | ||
447 | /** Lexer state names. */ | |
448 | public static final String[] lexStateNames = { "DEFAULT", }; | |
449 | static final long[] jjtoToken = { 0xff01L, }; | |
450 | static final long[] jjtoSkip = { 0x1eL, }; | |
451 | protected SimpleCharStream input_stream; | |
452 | private final int[] jjrounds = new int[15]; | |
453 | private final int[] jjstateSet = new int[30]; | |
454 | protected char curChar; | |
455 | ||
456 | /** Constructor. */ | |
457 | public GMLParserTokenManager(SimpleCharStream stream) { | |
458 | if (SimpleCharStream.staticFlag) | |
459 | throw new Error( | |
460 | "ERROR: Cannot use a static CharStream class with a non-static lexical analyzer."); | |
461 | input_stream = stream; | |
462 | } | |
463 | ||
464 | /** Constructor. */ | |
465 | public GMLParserTokenManager(SimpleCharStream stream, int lexState) { | |
466 | this(stream); | |
467 |
1
1. |
SwitchTo(lexState); |
468 | } | |
469 | ||
470 | /** Reinitialise parser. */ | |
471 | public void ReInit(SimpleCharStream stream) { | |
472 | jjmatchedPos = jjnewStateCnt = 0; | |
473 | curLexState = defaultLexState; | |
474 | input_stream = stream; | |
475 |
1
1. ReInit : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::ReInitRounds → NO_COVERAGE |
ReInitRounds(); |
476 | } | |
477 | ||
478 | private void ReInitRounds() { | |
479 | int i; | |
480 | jjround = 0x80000001; | |
481 |
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 = 15; i-- > 0;) |
482 | jjrounds[i] = 0x80000000; | |
483 | } | |
484 | ||
485 | /** Reinitialise parser. */ | |
486 | public void ReInit(SimpleCharStream stream, int lexState) { | |
487 |
1
1. ReInit : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::ReInit → NO_COVERAGE |
ReInit(stream); |
488 |
1
1. ReInit : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::SwitchTo → NO_COVERAGE |
SwitchTo(lexState); |
489 | } | |
490 | ||
491 | /** Switch to specified lex state. */ | |
492 | public void SwitchTo(int lexState) { | |
493 |
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) |
494 | throw new TokenMgrError("Error: Ignoring invalid lexical state : " | |
495 | + lexState + ". State unchanged.", | |
496 | TokenMgrError.INVALID_LEXICAL_STATE); | |
497 | else | |
498 | curLexState = lexState; | |
499 | } | |
500 | ||
501 | protected Token jjFillToken() { | |
502 | final Token t; | |
503 | final String curTokenImage; | |
504 | final int beginLine; | |
505 | final int endLine; | |
506 | final int beginColumn; | |
507 | final int endColumn; | |
508 | String im = jjstrLiteralImages[jjmatchedKind]; | |
509 |
1
1. jjFillToken : negated conditional → NO_COVERAGE |
curTokenImage = (im == null) ? input_stream.GetImage() : im; |
510 | beginLine = input_stream.getBeginLine(); | |
511 | beginColumn = input_stream.getBeginColumn(); | |
512 | endLine = input_stream.getEndLine(); | |
513 | endColumn = input_stream.getEndColumn(); | |
514 | t = Token.newToken(jjmatchedKind, curTokenImage); | |
515 | ||
516 | t.beginLine = beginLine; | |
517 | t.endLine = endLine; | |
518 | t.beginColumn = beginColumn; | |
519 | t.endColumn = endColumn; | |
520 | ||
521 |
1
1. jjFillToken : mutated return of Object value for org/graphstream/stream/file/gml/GMLParserTokenManager::jjFillToken to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return t; |
522 | } | |
523 | ||
524 | int curLexState = 0; | |
525 | int defaultLexState = 0; | |
526 | int jjnewStateCnt; | |
527 | int jjround; | |
528 | int jjmatchedPos; | |
529 | int jjmatchedKind; | |
530 | ||
531 | /** Get the next Token. */ | |
532 | public Token getNextToken() { | |
533 | Token matchedToken; | |
534 | int curPos = 0; | |
535 | ||
536 | EOFLoop: for (;;) { | |
537 | try { | |
538 | curChar = input_stream.BeginToken(); | |
539 | } catch (java.io.IOException e) { | |
540 | jjmatchedKind = 0; | |
541 | matchedToken = jjFillToken(); | |
542 |
1
1. getNextToken : mutated return of Object value for org/graphstream/stream/file/gml/GMLParserTokenManager::getNextToken to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return matchedToken; |
543 | } | |
544 | ||
545 | try { | |
546 |
1
1. getNextToken : removed call to org/graphstream/util/parser/SimpleCharStream::backup → NO_COVERAGE |
input_stream.backup(0); |
547 |
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) |
548 | curChar = input_stream.BeginToken(); | |
549 | } catch (java.io.IOException e1) { | |
550 | continue EOFLoop; | |
551 | } | |
552 | jjmatchedKind = 0x7fffffff; | |
553 | jjmatchedPos = 0; | |
554 | curPos = jjMoveStringLiteralDfa0_0(); | |
555 |
1
1. getNextToken : negated conditional → NO_COVERAGE |
if (jjmatchedKind != 0x7fffffff) { |
556 |
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) |
557 |
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); |
558 |
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) { |
559 | matchedToken = jjFillToken(); | |
560 |
1
1. getNextToken : mutated return of Object value for org/graphstream/stream/file/gml/GMLParserTokenManager::getNextToken to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return matchedToken; |
561 | } else { | |
562 | continue EOFLoop; | |
563 | } | |
564 | } | |
565 | int error_line = input_stream.getEndLine(); | |
566 | int error_column = input_stream.getEndColumn(); | |
567 | String error_after = null; | |
568 | boolean EOFSeen = false; | |
569 | try { | |
570 | input_stream.readChar(); | |
571 |
1
1. getNextToken : removed call to org/graphstream/util/parser/SimpleCharStream::backup → NO_COVERAGE |
input_stream.backup(1); |
572 | } catch (java.io.IOException e1) { | |
573 | EOFSeen = true; | |
574 |
2
1. getNextToken : changed conditional boundary → NO_COVERAGE 2. getNextToken : negated conditional → NO_COVERAGE |
error_after = curPos <= 1 ? "" : input_stream.GetImage(); |
575 |
2
1. getNextToken : negated conditional → NO_COVERAGE 2. getNextToken : negated conditional → NO_COVERAGE |
if (curChar == '\n' || curChar == '\r') { |
576 |
1
1. getNextToken : Changed increment from 1 to -1 → NO_COVERAGE |
error_line++; |
577 | error_column = 0; | |
578 | } else | |
579 |
1
1. getNextToken : Changed increment from 1 to -1 → NO_COVERAGE |
error_column++; |
580 | } | |
581 |
1
1. getNextToken : negated conditional → NO_COVERAGE |
if (!EOFSeen) { |
582 |
1
1. getNextToken : removed call to org/graphstream/util/parser/SimpleCharStream::backup → NO_COVERAGE |
input_stream.backup(1); |
583 |
2
1. getNextToken : changed conditional boundary → NO_COVERAGE 2. getNextToken : negated conditional → NO_COVERAGE |
error_after = curPos <= 1 ? "" : input_stream.GetImage(); |
584 | } | |
585 | throw new TokenMgrError(EOFSeen, curLexState, error_line, | |
586 | error_column, error_after, curChar, | |
587 | TokenMgrError.LEXICAL_ERROR); | |
588 | } | |
589 | } | |
590 | ||
591 | private void jjCheckNAdd(int state) { | |
592 |
1
1. jjCheckNAdd : negated conditional → NO_COVERAGE |
if (jjrounds[state] != jjround) { |
593 |
1
1. jjCheckNAdd : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = state; |
594 | jjrounds[state] = jjround; | |
595 | } | |
596 | } | |
597 | ||
598 | private void jjAddStates(int start, int end) { | |
599 | do { | |
600 |
1
1. jjAddStates : Replaced integer addition with subtraction → NO_COVERAGE |
jjstateSet[jjnewStateCnt++] = jjnextStates[start]; |
601 |
2
1. jjAddStates : Changed increment from 1 to -1 → NO_COVERAGE 2. jjAddStates : negated conditional → NO_COVERAGE |
} while (start++ != end); |
602 | } | |
603 | ||
604 | private void jjCheckNAddTwoStates(int state1, int state2) { | |
605 |
1
1. jjCheckNAddTwoStates : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(state1); |
606 |
1
1. jjCheckNAddTwoStates : removed call to org/graphstream/stream/file/gml/GMLParserTokenManager::jjCheckNAdd → NO_COVERAGE |
jjCheckNAdd(state2); |
607 | } | |
608 | ||
609 | } | |
Mutations | ||
52 |
1.1 2.2 |
|
54 |
1.1 |
|
56 |
1.1 |
|
58 |
1.1 2.2 |
|
61 |
1.1 |
|
63 |
1.1 |
|
65 |
1.1 2.2 |
|
68 |
1.1 |
|
70 |
1.1 |
|
72 |
1.1 2.2 |
|
75 |
1.1 |
|
77 |
1.1 |
|
79 |
1.1 2.2 |
|
80 |
1.1 |
|
81 |
1.1 2.2 |
|
84 |
1.1 |
|
86 |
1.1 |
|
88 |
1.1 2.2 |
|
91 |
1.1 |
|
93 |
1.1 |
|
95 |
1.1 |
|
100 |
1.1 2.2 |
|
106 |
1.1 2.2 |
|
112 |
1.1 |
|
114 |
1.1 |
|
117 |
1.1 |
|
120 |
1.1 |
|
122 |
1.1 |
|
131 |
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 |
|
165 |
1.1 |
|
169 |
1.1 2.2 |
|
170 |
1.1 |
|
175 |
1.1 |
|
180 |
1.1 |
|
183 |
1.1 |
|
187 |
1.1 |
|
191 |
1.1 2.2 |
|
192 |
1.1 |
|
197 |
1.1 |
|
202 |
1.1 |
|
205 |
1.1 2.2 |
|
206 |
1.1 |
|
211 |
1.1 |
|
215 |
1.1 2.2 |
|
216 |
1.1 |
|
221 |
1.1 |
|
226 |
1.1 |
|
230 |
1.1 |
|
234 |
1.1 2.2 |
|
235 |
1.1 |
|
240 |
1.1 |
|
245 |
1.1 2.2 |
|
246 |
1.1 |
|
251 |
1.1 |
|
260 |
1.1 2.2 |
|
262 |
1.1 2.2 |
|
275 |
1.1 2.2 |
|
276 |
1.1 |
|
277 |
1.1 2.2 |
|
278 |
1.1 |
|
280 |
1.1 |
|
282 |
1.1 2.2 |
|
283 |
1.1 2.2 |
|
285 |
1.1 |
|
286 |
1.1 2.2 |
|
287 |
1.1 2.2 |
|
289 |
1.1 |
|
290 |
1.1 |
|
291 |
1.1 |
|
292 |
1.1 |
|
293 |
1.1 |
|
294 |
1.1 |
|
295 |
1.1 |
|
296 |
1.1 2.2 |
|
297 |
1.1 |
|
300 |
1.1 2.2 |
|
302 |
1.1 2.2 |
|
304 |
1.1 |
|
307 |
1.1 |
|
308 |
1.1 |
|
311 |
1.1 2.2 |
|
313 |
1.1 2.2 |
|
315 |
1.1 |
|
318 |
1.1 |
|
319 |
1.1 |
|
322 |
1.1 2.2 |
|
323 |
1.1 |
|
326 |
1.1 2.2 3.3 |
|
330 |
1.1 |
|
331 |
1.1 |
|
334 |
1.1 2.2 |
|
335 |
1.1 |
|
338 |
1.1 2.2 3.3 |
|
342 |
1.1 2.2 |
|
344 |
1.1 2.2 |
|
346 |
1.1 |
|
349 |
1.1 2.2 |
|
351 |
1.1 2.2 |
|
353 |
1.1 |
|
356 |
1.1 |
|
357 |
1.1 |
|
360 |
1.1 2.2 |
|
361 |
1.1 |
|
364 |
1.1 2.2 3.3 4.4 |
|
370 |
1.1 |
|
371 |
1.1 2.2 |
|
372 |
1.1 2.2 |
|
374 |
1.1 |
|
376 |
1.1 2.2 |
|
378 |
1.1 2.2 |
|
380 |
1.1 |
|
383 |
1.1 |
|
386 |
1.1 |
|
389 |
1.1 2.2 |
|
391 |
1.1 2.2 |
|
393 |
1.1 |
|
396 |
1.1 |
|
401 |
1.1 |
|
403 |
1.1 2.2 |
|
404 |
1.1 2.2 |
|
406 |
1.1 |
|
408 |
1.1 2.2 |
|
409 |
1.1 |
|
412 |
1.1 2.2 |
|
413 |
1.1 |
|
416 |
1.1 2.2 |
|
417 |
1.1 |
|
422 |
1.1 |
|
424 |
1.1 |
|
429 |
1.1 |
|
430 |
1.1 2.2 |
|
431 |
1.1 |
|
435 |
1.1 |
|
467 |
1.1 |
|
475 |
1.1 |
|
481 |
1.1 2.2 3.3 |
|
487 |
1.1 |
|
488 |
1.1 |
|
493 |
1.1 2.2 3.3 4.4 |
|
509 |
1.1 |
|
521 |
1.1 |
|
542 |
1.1 |
|
546 |
1.1 |
|
547 |
1.1 2.2 3.3 4.4 5.5 |
|
555 |
1.1 |
|
556 |
1.1 2.2 3.3 |
|
557 |
1.1 2.2 3.3 |
|
558 |
1.1 2.2 3.3 4.4 5.5 |
|
560 |
1.1 |
|
571 |
1.1 |
|
574 |
1.1 2.2 |
|
575 |
1.1 2.2 |
|
576 |
1.1 |
|
579 |
1.1 |
|
581 |
1.1 |
|
582 |
1.1 |
|
583 |
1.1 2.2 |
|
592 |
1.1 |
|
593 |
1.1 |
|
600 |
1.1 |
|
601 |
1.1 2.2 |
|
605 |
1.1 |
|
606 |
1.1 |