forked from Imonor/ProjetFamix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.mse
368 lines (368 loc) · 10.8 KB
/
sample.mse
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
((FAMIX.Class (id: 7)
(sourceAnchor (ref: 6))
(name 'Animal')
(container (ref: 4))
(subInheritances (ref: 79) (ref: 80))
(behavioursWithDeclaredType (ref: 14))
(methods (ref: 8) (ref: 14))
(attributes (ref: 11))
(isInterface false))
(FAMIX.Class (id: 22)
(sourceAnchor (ref: 21))
(name 'Dog')
(container (ref: 19))
(superInheritances (ref: 79))
(behavioursWithDeclaredType (ref: 33))
(methods (ref: 23) (ref: 25) (ref: 28) (ref: 33))
(attributes (ref: 31))
(isInterface false))
(FAMIX.Class (id: 39)
(sourceAnchor (ref: 38))
(name 'Youpi')
(container (ref: 19))
(superInheritances (ref: 82))
(subInheritances (ref: 81))
(methods (ref: 40))
(attributes (ref: 42) (ref: 45))
(isInterface true))
(FAMIX.Class (id: 53)
(sourceAnchor (ref: 52))
(name 'Fish')
(container (ref: 50))
(superInheritances (ref: 80) (ref: 81))
(behavioursWithDeclaredType (ref: 64))
(methods (ref: 54) (ref: 56) (ref: 64))
(attributes (ref: 58) (ref: 60) (ref: 62))
(isInterface false))
(FAMIX.Class (id: 73)
(sourceAnchor (ref: 72))
(name 'BaseInterface')
(container (ref: 70))
(subInheritances (ref: 82))
(methods (ref: 74))
(isInterface true))
(FAMIX.CustomSourceLanguage (id: 1)
(name 'TypeScript'))
(FAMIX.IndexedFileAnchor (id: 3)
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Animal.ts')
(startPos 0)
(endPos 211))
(FAMIX.Namespace (id: 4)
(name 'MyNamespace')
(types (ref: 7)))
(FAMIX.IndexedFileAnchor (id: 6)
(element (ref: 7))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Animal.ts')
(startPos 37)
(endPos 208))
(FAMIX.Method (id: 8)
(sourceAnchor (ref: 10))
(name 'move')
(declaredType (ref: 9))
(cyclomaticComplexity 1)
(numberOfStatements 0)
(numberOfLinesOfCode 0)
(parentType (ref: 7)))
(FAMIX.Type (id: 9)
(name 'void')
(behavioursWithDeclaredType (ref: 8) (ref: 23) (ref: 40) (ref: 54)))
(FAMIX.IndexedFileAnchor (id: 10)
(element (ref: 8))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Animal.ts')
(startPos 98)
(endPos 120))
(FAMIX.Attribute (id: 11)
(sourceAnchor (ref: 13))
(name 'name')
(declaredType (ref: 12))
(parentType (ref: 7)))
(FAMIX.Type (id: 12)
(name 'string')
(behavioursWithDeclaredType (ref: 56) (ref: 74))
(structuresWithDeclaredType (ref: 11) (ref: 16) (ref: 31) (ref: 35) (ref: 36) (ref: 66)))
(FAMIX.IndexedFileAnchor (id: 13)
(element (ref: 11))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Animal.ts')
(startPos 68)
(endPos 88))
(FAMIX.Method (id: 14)
(sourceAnchor (ref: 15))
(name 'constructor')
(declaredType (ref: 7))
(cyclomaticComplexity 1)
(numberOfStatements 1)
(numberOfLinesOfCode 2)
(parameters (ref: 16))
(parentType (ref: 7)))
(FAMIX.IndexedFileAnchor (id: 15)
(element (ref: 14))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Animal.ts')
(startPos 130)
(endPos 199))
(FAMIX.Parameter (id: 16)
(name 'name')
(declaredType (ref: 12))
(parentBehaviouralEntity (ref: 14)))
(FAMIX.IndexedFileAnchor (id: 18)
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Dog.ts')
(startPos 78)
(endPos 730))
(FAMIX.Namespace (id: 19)
(name 'MyNamespace')
(types (ref: 22) (ref: 39)))
(FAMIX.IndexedFileAnchor (id: 21)
(element (ref: 22))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Dog.ts')
(startPos 104)
(endPos 591))
(FAMIX.Method (id: 23)
(sourceAnchor (ref: 24))
(name 'bark')
(declaredType (ref: 9))
(cyclomaticComplexity 1)
(numberOfStatements 1)
(numberOfLinesOfCode 2)
(parentType (ref: 22)))
(FAMIX.IndexedFileAnchor (id: 24)
(element (ref: 23))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Dog.ts')
(startPos 181)
(endPos 248))
(FAMIX.Method (id: 25)
(sourceAnchor (ref: 27))
(name 'getPuppies')
(declaredType (ref: 26))
(cyclomaticComplexity 1)
(numberOfStatements 1)
(numberOfLinesOfCode 2)
(parentType (ref: 22)))
(FAMIX.Type (id: 26)
(name 'Dog[]')
(behavioursWithDeclaredType (ref: 25)))
(FAMIX.IndexedFileAnchor (id: 27)
(element (ref: 25))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Dog.ts')
(startPos 389)
(endPos 471))
(FAMIX.Method (id: 28)
(sourceAnchor (ref: 30))
(name 'getPuppiesWithNames')
(declaredType (ref: 29))
(cyclomaticComplexity 1)
(numberOfStatements 1)
(numberOfLinesOfCode 2)
(parentType (ref: 22)))
(FAMIX.Type (id: 29)
(name 'Map')
(behavioursWithDeclaredType (ref: 28)))
(FAMIX.IndexedFileAnchor (id: 30)
(element (ref: 28))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Dog.ts')
(startPos 481)
(endPos 584))
(FAMIX.Attribute (id: 31)
(sourceAnchor (ref: 32))
(name 'furColor')
(declaredType (ref: 12))
(parentType (ref: 22)))
(FAMIX.IndexedFileAnchor (id: 32)
(element (ref: 31))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Dog.ts')
(startPos 147)
(endPos 171))
(FAMIX.Method (id: 33)
(sourceAnchor (ref: 34))
(name 'constructor')
(declaredType (ref: 22))
(cyclomaticComplexity 1)
(numberOfStatements 2)
(numberOfLinesOfCode 3)
(parameters (ref: 35) (ref: 36))
(parentType (ref: 22)))
(FAMIX.IndexedFileAnchor (id: 34)
(element (ref: 33))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Dog.ts')
(startPos 258)
(endPos 379))
(FAMIX.Parameter (id: 35)
(name 'name')
(declaredType (ref: 12))
(parentBehaviouralEntity (ref: 33)))
(FAMIX.Parameter (id: 36)
(name 'furColor')
(declaredType (ref: 12))
(parentBehaviouralEntity (ref: 33)))
(FAMIX.IndexedFileAnchor (id: 38)
(element (ref: 39))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Dog.ts')
(startPos 600)
(endPos 727))
(FAMIX.Method (id: 40)
(sourceAnchor (ref: 41))
(name 'wow')
(declaredType (ref: 9))
(numberOfLinesOfCode 0)
(parentType (ref: 39)))
(FAMIX.IndexedFileAnchor (id: 41)
(element (ref: 40))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Dog.ts')
(startPos 708)
(endPos 720))
(FAMIX.Attribute (id: 42)
(sourceAnchor (ref: 44))
(name 'yay')
(declaredType (ref: 43))
(parentType (ref: 39)))
(FAMIX.Type (id: 43)
(name 'number')
(structuresWithDeclaredType (ref: 42) (ref: 58) (ref: 60) (ref: 67)))
(FAMIX.IndexedFileAnchor (id: 44)
(element (ref: 42))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Dog.ts')
(startPos 656)
(endPos 668))
(FAMIX.Attribute (id: 45)
(sourceAnchor (ref: 47))
(name 'hehe')
(declaredType (ref: 46))
(parentType (ref: 39)))
(FAMIX.Type (id: 46)
(name 'boolean')
(structuresWithDeclaredType (ref: 45) (ref: 62)))
(FAMIX.IndexedFileAnchor (id: 47)
(element (ref: 45))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Dog.ts')
(startPos 678)
(endPos 692))
(FAMIX.IndexedFileAnchor (id: 49)
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Fish.ts')
(startPos 67)
(endPos 551))
(FAMIX.Namespace (id: 50)
(name 'MyNamespace')
(types (ref: 53)))
(FAMIX.IndexedFileAnchor (id: 52)
(element (ref: 53))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Fish.ts')
(startPos 93)
(endPos 548))
(FAMIX.Method (id: 54)
(sourceAnchor (ref: 55))
(name 'wow')
(declaredType (ref: 9))
(cyclomaticComplexity 1)
(numberOfStatements 1)
(numberOfLinesOfCode 2)
(parentType (ref: 53)))
(FAMIX.IndexedFileAnchor (id: 55)
(element (ref: 54))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Fish.ts')
(startPos 361)
(endPos 442))
(FAMIX.Method (id: 56)
(sourceAnchor (ref: 57))
(name 'laMethode')
(declaredType (ref: 12))
(cyclomaticComplexity 1)
(numberOfStatements 1)
(numberOfLinesOfCode 2)
(parentType (ref: 53)))
(FAMIX.IndexedFileAnchor (id: 57)
(element (ref: 56))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Fish.ts')
(startPos 452)
(endPos 541))
(FAMIX.Attribute (id: 58)
(sourceAnchor (ref: 59))
(name 'nbScale')
(declaredType (ref: 43))
(parentType (ref: 53)))
(FAMIX.IndexedFileAnchor (id: 59)
(element (ref: 58))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Fish.ts')
(startPos 154)
(endPos 177))
(FAMIX.Attribute (id: 60)
(sourceAnchor (ref: 61))
(name 'yay')
(declaredType (ref: 43))
(parentType (ref: 53)))
(FAMIX.IndexedFileAnchor (id: 61)
(element (ref: 60))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Fish.ts')
(startPos 315)
(endPos 327))
(FAMIX.Attribute (id: 62)
(sourceAnchor (ref: 63))
(name 'hehe')
(declaredType (ref: 46))
(parentType (ref: 53)))
(FAMIX.IndexedFileAnchor (id: 63)
(element (ref: 62))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Fish.ts')
(startPos 337)
(endPos 351))
(FAMIX.Method (id: 64)
(sourceAnchor (ref: 65))
(name 'constructor')
(declaredType (ref: 53))
(cyclomaticComplexity 1)
(numberOfStatements 2)
(numberOfLinesOfCode 3)
(parameters (ref: 66) (ref: 67))
(parentType (ref: 53)))
(FAMIX.IndexedFileAnchor (id: 65)
(element (ref: 64))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/Fish.ts')
(startPos 187)
(endPos 305))
(FAMIX.Parameter (id: 66)
(name 'name')
(declaredType (ref: 12))
(parentBehaviouralEntity (ref: 64)))
(FAMIX.Parameter (id: 67)
(name 'nbScale')
(declaredType (ref: 43))
(parentBehaviouralEntity (ref: 64)))
(FAMIX.IndexedFileAnchor (id: 69)
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/IBaseInterface.ts')
(startPos 0)
(endPos 98))
(FAMIX.Namespace (id: 70)
(name 'MyNamespace')
(types (ref: 73)))
(FAMIX.IndexedFileAnchor (id: 72)
(element (ref: 73))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/IBaseInterface.ts')
(startPos 26)
(endPos 95))
(FAMIX.Method (id: 74)
(sourceAnchor (ref: 75))
(name 'laMethode')
(declaredType (ref: 12))
(numberOfLinesOfCode 0)
(parentType (ref: 73)))
(FAMIX.IndexedFileAnchor (id: 75)
(element (ref: 74))
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/IBaseInterface.ts')
(startPos 68)
(endPos 88))
(FAMIX.IndexedFileAnchor (id: 77)
(fileName 'D:/Cours/ETS/MGL843/ProjetFamix/resources/utils.ts')
(startPos 0)
(endPos 185))
(FAMIX.Namespace (id: 78)
(name 'MyNamespace'))
(FAMIX.Inheritance (id: 79)
(superclass (ref: 7))
(subclass (ref: 22)))
(FAMIX.Inheritance (id: 80)
(superclass (ref: 7))
(subclass (ref: 53)))
(FAMIX.Inheritance (id: 81)
(superclass (ref: 39))
(subclass (ref: 53)))
(FAMIX.Inheritance (id: 82)
(superclass (ref: 73))
(subclass (ref: 39)))
)