-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest20.dot
384 lines (384 loc) · 14.8 KB
/
test20.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
digraph G {
"0" [label="0[]:Step_starts" shape="ellipse" ];
"1" [label="1[]:Step_terminates" shape="ellipse" ];
"104" [label="104[]:Step_starts" shape="ellipse" ];
"105" [label="105[]:Step_terminates" shape="ellipse" ];
"3" [label="3[]:Step_starts:
void functioninit3Variable(){
createGlobalVar,int,Variable0_0_0_10currentValue
}" shape="ellipse" ];
"4" [label="4[]:Step_terminates" shape="ellipse" ];
"5" [label="5[]:Step:
void function5initializeVar(){
createVar,int,Variable0_0_0_101432
assignVar,Variable0_0_0_101432,1
setGlobalVar,int,Variable0_0_0_10currentValue,Variable0_0_0_101432
}" shape="ellipse" ];
"6" [label="6[]:Step_starts:
void functioninit6Variable(){
createGlobalVar,int,Variable1_0_1_10currentValue
}" shape="ellipse" ];
"7" [label="7[]:Step_terminates" shape="ellipse" ];
"8" [label="8[]:Step:
void function8initializeVar(){
createVar,int,Variable1_0_1_101432
assignVar,Variable1_0_1_101432,4
setGlobalVar,int,Variable1_0_1_10currentValue,Variable1_0_1_101432
}" shape="ellipse" ];
"9" [label="9[]:Step_starts:
void functioninit9Variable(){
createGlobalVar,int,Variable2_0_2_10currentValue
}" shape="ellipse" ];
"10" [label="10[]:Step_terminates" shape="ellipse" ];
"11" [label="11[]:Step:
void function11initializeVar(){
createVar,int,Variable2_0_2_101432
assignVar,Variable2_0_2_101432,0
setGlobalVar,int,Variable2_0_2_10currentValue,Variable2_0_2_101432
}" shape="ellipse" ];
"12" [label="12[]:Step_starts" shape="ellipse" ];
"13" [label="13[]:Step_terminates" shape="ellipse" ];
"43" [label="43[]:Step_starts" shape="ellipse" ];
"44" [label="44[]:Step_terminates" shape="ellipse" ];
"48" [label="48[49,97,98,64]:Choice" shape="diamond" ];
"49" [label="49[48,114,23,37,63,80]:OrJoin" shape="invtriangle" ];
"86" [label="86[]:Step_starts" shape="ellipse" ];
"87" [label="87[]:Step_terminates" shape="ellipse" ];
"89" [label="89[]:Step:
void function89executeAssignment2(int resRight){
createVar,int,Assignment16_0_16_202622
assignVar,Assignment16_0_16_202622,resRight
setGlobalVar,int,Variable2_0_2_10currentValue,Assignment16_0_16_202622
}" shape="ellipse" ];
"112" [label="112[]:Step_starts" shape="ellipse" ];
"113" [label="113[]:Step_terminates" shape="ellipse" ];
"114" [label="114[49,115,97,98,24,64]:Fork" shape="triangle" ];
"115" [label="115[114,23,37]:OrJoin" shape="invtriangle" ];
"50" [label="50[]:Step_starts:
int function50accessVarRef(){
createVar,int,VarRef7_4_7_61647
setVarFromGlobal,int,VarRef7_4_7_61647,Variable0_0_0_10currentValue
createVar,int,VarRef7_4_7_6terminates
assignVar,VarRef7_4_7_6terminates,VarRef7_4_7_61647
return,VarRef7_4_7_6terminates
}" shape="ellipse" ];
"51" [label="51[]:Step_terminates" shape="ellipse" ];
"52" [label="52[]:Step_starts" shape="ellipse" ];
"53" [label="53[]:Step_terminates" shape="ellipse" ];
"69" [label="69[]:Step_starts" shape="ellipse" ];
"70" [label="70[]:Step_terminates" shape="ellipse" ];
"90" [label="90[]:Step_starts" shape="ellipse" ];
"91" [label="91[]:Step_terminates" shape="ellipse" ];
"94" [label="94[97,98]:Fork" shape="triangle" ];
"95" [label="95[]:Choice:
bool function95evaluateConjunction2(){
createVar,bool,Conjunction16_5_16_20terminates
assignVar,Conjunction16_5_16_20terminates,false
return,Conjunction16_5_16_20terminates
}" shape="diamond" ];
"96" [label="96[]:Choice:
bool function96evaluateConjunction3(){
createVar,bool,Conjunction16_5_16_20terminates
assignVar,Conjunction16_5_16_20terminates,false
return,Conjunction16_5_16_20terminates
}" shape="diamond" ];
"97" [label="97[48,114,94,23,37,63,80]:OrJoin" shape="invtriangle" ];
"98" [label="98[48,114,94,23,37,63,80]:AndJoin" shape="invtriangle" ];
"99" [label="99[]:Choice:
bool function99evaluateConjunction4(){
createVar,bool,Conjunction16_5_16_20terminates
assignVar,Conjunction16_5_16_20terminates,true
return,Conjunction16_5_16_20terminates
}" shape="diamond" ];
"15" [label="15[]:Step_starts" shape="ellipse" ];
"16" [label="16[]:Step_terminates" shape="ellipse" ];
"18" [label="18[]:Step:
void function18executeAssignment2(int resRight){
createVar,int,Assignment4_7_4_212622
assignVar,Assignment4_7_4_212622,resRight
setGlobalVar,int,Variable1_0_1_10currentValue,Assignment4_7_4_212622
}" shape="ellipse" ];
"29" [label="29[]:Step_starts" shape="ellipse" ];
"30" [label="30[]:Step_terminates" shape="ellipse" ];
"32" [label="32[]:Step:
void function32executeAssignment2(int resRight){
createVar,int,Assignment5_7_5_212622
assignVar,Assignment5_7_5_212622,resRight
setGlobalVar,int,Variable1_0_1_10currentValue,Assignment5_7_5_212622
}" shape="ellipse" ];
"118" [label="118[]:Step_starts" shape="ellipse" ];
"119" [label="119[]:Step_terminates" shape="ellipse" ];
"121" [label="121[]:Step_starts" shape="ellipse" ];
"122" [label="122[]:Step_terminates" shape="ellipse" ];
"100" [label="100[]:Step_starts:
bool function100evalBooleanConst(){
createGlobalVar,bool,BooleanConst16_6_16_10constantValue
setGlobalVar,bool,BooleanConst16_6_16_10constantValue,true
createVar,bool,BooleanConst16_6_16_104767
setVarFromGlobal,bool,BooleanConst16_6_16_104767,BooleanConst16_6_16_10constantValue
createVar,bool,BooleanConst16_6_16_10terminates
assignVar,BooleanConst16_6_16_10terminates,BooleanConst16_6_16_104767
return,BooleanConst16_6_16_10terminates
}" shape="ellipse" ];
"101" [label="101[]:Step_terminates" shape="ellipse" ];
"102" [label="102[]:Step_starts:
bool function102evalBooleanConst(){
createGlobalVar,bool,BooleanConst16_14_16_19constantValue
setGlobalVar,bool,BooleanConst16_14_16_19constantValue,false
createVar,bool,BooleanConst16_14_16_194767
setVarFromGlobal,bool,BooleanConst16_14_16_194767,BooleanConst16_14_16_19constantValue
createVar,bool,BooleanConst16_14_16_19terminates
assignVar,BooleanConst16_14_16_19terminates,BooleanConst16_14_16_194767
return,BooleanConst16_14_16_19terminates
}" shape="ellipse" ];
"103" [label="103[]:Step_terminates" shape="ellipse" ];
"19" [label="19[]:Step_starts" shape="ellipse" ];
"20" [label="20[]:Step_terminates" shape="ellipse" ];
"23" [label="23[49,115,97,98,24,64]:Fork" shape="triangle" ];
"24" [label="24[114,23]:AndJoin:
int function24finishPlus(int n2, int n1){
createVar,int,Plus4_12_4_214539
assignVar,Plus4_12_4_214539,n1
createVar,int,Plus4_12_4_214544
assignVar,Plus4_12_4_214544,n2
createVar,int,Plus4_12_4_214538
operation,Plus4_12_4_214538,Plus4_12_4_214539,+,Plus4_12_4_214544
createVar,int,Plus4_12_4_21terminates
assignVar,Plus4_12_4_21terminates,Plus4_12_4_214538
return,Plus4_12_4_21terminates
}" shape="invtriangle" ];
"33" [label="33[]:Step_starts" shape="ellipse" ];
"34" [label="34[]:Step_terminates" shape="ellipse" ];
"37" [label="37[49,115,97,98,38,64]:Fork" shape="triangle" ];
"38" [label="38[37]:AndJoin:
int function38finishPlus(int n2, int n1){
createVar,int,Plus5_12_5_214539
assignVar,Plus5_12_5_214539,n1
createVar,int,Plus5_12_5_214544
assignVar,Plus5_12_5_214544,n2
createVar,int,Plus5_12_5_214538
operation,Plus5_12_5_214538,Plus5_12_5_214539,+,Plus5_12_5_214544
createVar,int,Plus5_12_5_21terminates
assignVar,Plus5_12_5_21terminates,Plus5_12_5_214538
return,Plus5_12_5_21terminates
}" shape="invtriangle" ];
"55" [label="55[]:Step_starts" shape="ellipse" ];
"56" [label="56[]:Step_terminates" shape="ellipse" ];
"58" [label="58[]:Step:
void function58executeAssignment2(int resRight){
createVar,int,Assignment9_4_9_182622
assignVar,Assignment9_4_9_182622,resRight
setGlobalVar,int,Variable1_0_1_10currentValue,Assignment9_4_9_182622
}" shape="ellipse" ];
"72" [label="72[]:Step_starts" shape="ellipse" ];
"73" [label="73[]:Step_terminates" shape="ellipse" ];
"75" [label="75[]:Step:
void function75executeAssignment2(int resRight){
createVar,int,Assignment12_4_12_182622
assignVar,Assignment12_4_12_182622,resRight
setGlobalVar,int,Variable0_0_0_10currentValue,Assignment12_4_12_182622
}" shape="ellipse" ];
"27" [label="27[]:Step_starts:
int function27accessVarRef(){
createVar,int,VarRef4_18_4_201647
setVarFromGlobal,int,VarRef4_18_4_201647,Variable0_0_0_10currentValue
createVar,int,VarRef4_18_4_20terminates
assignVar,VarRef4_18_4_20terminates,VarRef4_18_4_201647
return,VarRef4_18_4_20terminates
}" shape="ellipse" ];
"28" [label="28[]:Step_terminates" shape="ellipse" ];
"25" [label="25[]:Step_starts:
int function25accessVarRef(){
createVar,int,VarRef4_13_4_151647
setVarFromGlobal,int,VarRef4_13_4_151647,Variable0_0_0_10currentValue
createVar,int,VarRef4_13_4_15terminates
assignVar,VarRef4_13_4_15terminates,VarRef4_13_4_151647
return,VarRef4_13_4_15terminates
}" shape="ellipse" ];
"26" [label="26[]:Step_terminates" shape="ellipse" ];
"41" [label="41[]:Step_starts:
int function41accessVarRef(){
createVar,int,VarRef5_18_5_201647
setVarFromGlobal,int,VarRef5_18_5_201647,Variable1_0_1_10currentValue
createVar,int,VarRef5_18_5_20terminates
assignVar,VarRef5_18_5_20terminates,VarRef5_18_5_201647
return,VarRef5_18_5_20terminates
}" shape="ellipse" ];
"42" [label="42[]:Step_terminates" shape="ellipse" ];
"39" [label="39[]:Step_starts:
int function39accessVarRef(){
createVar,int,VarRef5_13_5_151647
setVarFromGlobal,int,VarRef5_13_5_151647,Variable1_0_1_10currentValue
createVar,int,VarRef5_13_5_15terminates
assignVar,VarRef5_13_5_15terminates,VarRef5_13_5_151647
return,VarRef5_13_5_15terminates
}" shape="ellipse" ];
"40" [label="40[]:Step_terminates" shape="ellipse" ];
"59" [label="59[]:Step_starts" shape="ellipse" ];
"60" [label="60[]:Step_terminates" shape="ellipse" ];
"63" [label="63[49,97,98,64]:Fork" shape="triangle" ];
"64" [label="64[48,114,23,37,63]:AndJoin:
int function64finishPlus(int n2, int n1){
createVar,int,Plus9_9_9_184539
assignVar,Plus9_9_9_184539,n1
createVar,int,Plus9_9_9_184544
assignVar,Plus9_9_9_184544,n2
createVar,int,Plus9_9_9_184538
operation,Plus9_9_9_184538,Plus9_9_9_184539,+,Plus9_9_9_184544
createVar,int,Plus9_9_9_18terminates
assignVar,Plus9_9_9_18terminates,Plus9_9_9_184538
return,Plus9_9_9_18terminates
}" shape="invtriangle" ];
"76" [label="76[]:Step_starts" shape="ellipse" ];
"77" [label="77[]:Step_terminates" shape="ellipse" ];
"80" [label="80[49,97,98,81]:Fork" shape="triangle" ];
"81" [label="81[80]:AndJoin:
int function81finishPlus(int n2, int n1){
createVar,int,Plus12_9_12_184539
assignVar,Plus12_9_12_184539,n1
createVar,int,Plus12_9_12_184544
assignVar,Plus12_9_12_184544,n2
createVar,int,Plus12_9_12_184538
operation,Plus12_9_12_184538,Plus12_9_12_184539,+,Plus12_9_12_184544
createVar,int,Plus12_9_12_18terminates
assignVar,Plus12_9_12_18terminates,Plus12_9_12_184538
return,Plus12_9_12_18terminates
}" shape="invtriangle" ];
"67" [label="67[]:Step_starts:
int function67accessVarRef(){
createVar,int,VarRef9_15_9_171647
setVarFromGlobal,int,VarRef9_15_9_171647,Variable0_0_0_10currentValue
createVar,int,VarRef9_15_9_17terminates
assignVar,VarRef9_15_9_17terminates,VarRef9_15_9_171647
return,VarRef9_15_9_17terminates
}" shape="ellipse" ];
"68" [label="68[]:Step_terminates" shape="ellipse" ];
"65" [label="65[]:Step_starts:
int function65accessVarRef(){
createVar,int,VarRef9_10_9_121647
setVarFromGlobal,int,VarRef9_10_9_121647,Variable1_0_1_10currentValue
createVar,int,VarRef9_10_9_12terminates
assignVar,VarRef9_10_9_12terminates,VarRef9_10_9_121647
return,VarRef9_10_9_12terminates
}" shape="ellipse" ];
"66" [label="66[]:Step_terminates" shape="ellipse" ];
"84" [label="84[]:Step_starts:
int function84accessVarRef(){
createVar,int,VarRef12_15_12_171647
setVarFromGlobal,int,VarRef12_15_12_171647,Variable0_0_0_10currentValue
createVar,int,VarRef12_15_12_17terminates
assignVar,VarRef12_15_12_17terminates,VarRef12_15_12_171647
return,VarRef12_15_12_17terminates
}" shape="ellipse" ];
"85" [label="85[]:Step_terminates" shape="ellipse" ];
"82" [label="82[]:Step_starts:
int function82accessVarRef(){
createVar,int,VarRef12_10_12_121647
setVarFromGlobal,int,VarRef12_10_12_121647,Variable1_0_1_10currentValue
createVar,int,VarRef12_10_12_12terminates
assignVar,VarRef12_10_12_12terminates,VarRef12_10_12_121647
return,VarRef12_10_12_12terminates
}" shape="ellipse" ];
"83" [label="83[]:Step_terminates" shape="ellipse" ];
"0" -> "104" [label=""];
"105" -> "1" [label=""];
"104" -> "3" [label=""];
"4" -> "6" [label=""];
"7" -> "9" [label=""];
"10" -> "12" [label=""];
"13" -> "43" [label=""];
"44" -> "86" [label=""];
"87" -> "105" [label=""];
"3" -> "5" [label=""];
"5" -> "4" [label=""];
"6" -> "8" [label=""];
"8" -> "7" [label=""];
"9" -> "11" [label=""];
"11" -> "10" [label=""];
"12" -> "112" [label=""];
"113" -> "13" [label=""];
"43" -> "50" [label=""];
"51" -> "48" [label=""];
"48" -> "52" [label="verifyEqual,VarRef7_4_7_6terminate,true"];
"48" -> "69" [label="verifyEqual,VarRef7_4_7_6terminate,false"];
"70" -> "49" [label=""];
"53" -> "49" [label=""];
"49" -> "44" [label=""];
"86" -> "90" [label=""];
"91" -> "89" [label=""];
"89" -> "87" [label=""];
"112" -> "114" [label=""];
"115" -> "113" [label=""];
"114" -> "15" [label=""];
"16" -> "115" [label=""];
"114" -> "29" [label=""];
"30" -> "115" [label=""];
"50" -> "51" [label=""];
"52" -> "118" [label=""];
"119" -> "53" [label=""];
"69" -> "121" [label=""];
"122" -> "70" [label=""];
"90" -> "94" [label=""];
"94" -> "100" [label=""];
"94" -> "102" [label=""];
"101" -> "95" [label=""];
"95" -> "97" [label="verifyEqual,BooleanConst16_6_16_10terminate,false"];
"103" -> "96" [label=""];
"96" -> "97" [label="verifyEqual,BooleanConst16_14_16_19terminate,false"];
"97" -> "91" [label=""];
"101" -> "98" [label=""];
"103" -> "98" [label=""];
"98" -> "99" [label=""];
"99" -> "97" [label="verifyEqual,BooleanConst16_6_16_10terminate,true
verifyEqual,BooleanConst16_14_16_19terminate,true"];
"15" -> "19" [label=""];
"20" -> "18" [label=""];
"18" -> "16" [label=""];
"29" -> "33" [label=""];
"34" -> "32" [label=""];
"32" -> "30" [label=""];
"118" -> "55" [label=""];
"56" -> "119" [label=""];
"121" -> "72" [label=""];
"73" -> "122" [label=""];
"100" -> "101" [label=""];
"102" -> "103" [label=""];
"19" -> "23" [label=""];
"23" -> "27" [label=""];
"23" -> "25" [label=""];
"28" -> "24" [label=""];
"26" -> "24" [label=""];
"24" -> "20" [label=""];
"33" -> "37" [label=""];
"37" -> "41" [label=""];
"37" -> "39" [label=""];
"42" -> "38" [label=""];
"40" -> "38" [label=""];
"38" -> "34" [label=""];
"55" -> "59" [label=""];
"60" -> "58" [label=""];
"58" -> "56" [label=""];
"72" -> "76" [label=""];
"77" -> "75" [label=""];
"75" -> "73" [label=""];
"27" -> "28" [label=""];
"25" -> "26" [label=""];
"41" -> "42" [label=""];
"39" -> "40" [label=""];
"59" -> "63" [label=""];
"63" -> "67" [label=""];
"63" -> "65" [label=""];
"68" -> "64" [label=""];
"66" -> "64" [label=""];
"64" -> "60" [label=""];
"76" -> "80" [label=""];
"80" -> "84" [label=""];
"80" -> "82" [label=""];
"85" -> "81" [label=""];
"83" -> "81" [label=""];
"81" -> "77" [label=""];
"67" -> "68" [label=""];
"65" -> "66" [label=""];
"84" -> "85" [label=""];
"82" -> "83" [label=""];
}