tests: update RTA tests to relates the change in rta module
[nit.git] / tests / sav / nitmetrics_args1.res
1 *** METRICS ***
2 --- Poset metrics ---
3 ## Module importation hierarchy
4 Number of nodes: 1
5 Number of edges: 1 (1.00 per node)
6 Number of direct edges: 0 (0.0 per node)
7 Distribution of greaters
8  population: 1
9  minimum value: 1
10  maximum value: 1
11  total value: 1
12  average value: 1.00
13  distribution:
14   <=1: sub-population=1 (100.00%); cumulated value=1 (100.00%)
15 Distribution of direct greaters
16  population: 1
17  minimum value: 0
18  maximum value: 0
19  total value: 0
20  average value: 0.0
21  distribution:
22   <=0: sub-population=1 (100.00%); cumulated value=0 (na%)
23 Distribution of smallers
24  population: 1
25  minimum value: 1
26  maximum value: 1
27  total value: 1
28  average value: 1.00
29  distribution:
30   <=1: sub-population=1 (100.00%); cumulated value=1 (100.00%)
31 Distribution of direct smallers
32  population: 1
33  minimum value: 0
34  maximum value: 0
35  total value: 0
36  average value: 0.0
37  distribution:
38   <=0: sub-population=1 (100.00%); cumulated value=0 (na%)
39 ## Classdef hierarchy
40 Number of nodes: 8
41 Number of edges: 22 (2.75 per node)
42 Number of direct edges: 7 (0.87 per node)
43 Distribution of greaters
44  population: 8
45  minimum value: 2
46  maximum value: 3
47  total value: 22
48  average value: 2.75
49  distribution:
50   <=2: sub-population=2 (25.00%); cumulated value=4 (18.18%)
51   <=4: sub-population=6 (75.00%); cumulated value=18 (81.81%)
52 Distribution of direct greaters
53  population: 8
54  minimum value: 0
55  maximum value: 1
56  total value: 7
57  average value: 0.87
58  distribution:
59   <=0: sub-population=1 (12.50%); cumulated value=0 (0.0%)
60   <=1: sub-population=7 (87.50%); cumulated value=7 (100.00%)
61 Distribution of smallers
62  population: 8
63  minimum value: 1
64  maximum value: 8
65  total value: 22
66  average value: 2.75
67  distribution:
68   <=1: sub-population=6 (75.00%); cumulated value=6 (27.27%)
69   <=8: sub-population=2 (25.00%); cumulated value=16 (72.72%)
70 Distribution of direct smallers
71  population: 8
72  minimum value: 0
73  maximum value: 6
74  total value: 7
75  average value: 0.87
76  distribution:
77   <=0: sub-population=6 (75.00%); cumulated value=0 (0.0%)
78   <=1: sub-population=1 (12.50%); cumulated value=1 (14.28%)
79   <=8: sub-population=1 (12.50%); cumulated value=6 (85.71%)
80 ## Class hierarchy
81 Number of nodes: 7
82 Number of edges: 13 (1.85 per node)
83 Number of direct edges: 6 (0.85 per node)
84 Distribution of greaters
85  population: 7
86  minimum value: 1
87  maximum value: 2
88  total value: 13
89  average value: 1.85
90  distribution:
91   <=1: sub-population=1 (14.28%); cumulated value=1 (7.69%)
92   <=2: sub-population=6 (85.71%); cumulated value=12 (92.30%)
93 Distribution of direct greaters
94  population: 7
95  minimum value: 0
96  maximum value: 1
97  total value: 6
98  average value: 0.85
99  distribution:
100   <=0: sub-population=1 (14.28%); cumulated value=0 (0.0%)
101   <=1: sub-population=6 (85.71%); cumulated value=6 (100.00%)
102 Distribution of smallers
103  population: 7
104  minimum value: 1
105  maximum value: 7
106  total value: 13
107  average value: 1.85
108  distribution:
109   <=1: sub-population=6 (85.71%); cumulated value=6 (46.15%)
110   <=8: sub-population=1 (14.28%); cumulated value=7 (53.84%)
111 Distribution of direct smallers
112  population: 7
113  minimum value: 0
114  maximum value: 6
115  total value: 6
116  average value: 0.85
117  distribution:
118   <=0: sub-population=6 (85.71%); cumulated value=0 (0.0%)
119   <=8: sub-population=1 (14.28%); cumulated value=6 (100.00%)
120 --- AST Metrics ---
121 ## All nodes of the AST
122  population: 47
123  minimum value: 1
124  maximum value: 39
125  total value: 254
126  average value: 5.40
127  distribution:
128   <=1: sub-population=14 (29.78%); cumulated value=14 (5.51%)
129   <=2: sub-population=6 (12.76%); cumulated value=12 (4.72%)
130   <=4: sub-population=9 (19.14%); cumulated value=29 (11.41%)
131   <=8: sub-population=10 (21.27%); cumulated value=61 (24.01%)
132   <=16: sub-population=4 (8.51%); cumulated value=44 (17.32%)
133   <=32: sub-population=3 (6.38%); cumulated value=55 (21.65%)
134   <=64: sub-population=1 (2.12%); cumulated value=39 (15.35%)
135  list:
136   TId: 39 (15.35%)
137   AListExprs: 19 (7.48%)
138   APublicVisibility: 18 (7.08%)
139   ACallExpr: 18 (7.08%)
140   TClassid: 15 (5.90%)
141   TNumber: 10 (3.93%)
142   AIntExpr: 10 (3.93%)
143   AType: 9 (3.54%)
144   TKwend: 8 (3.14%)
145   ASignature: 8 (3.14%)
146   ...
147   AModule: 1 (0.39%)
148   AMainClassdef: 1 (0.39%)
149   ATopClassdef: 1 (0.39%)
150   TKwreturn: 1 (0.39%)
151   AReturnExpr: 1 (0.39%)
152   TKwinterface: 1 (0.39%)
153   ANoImport: 1 (0.39%)
154   AInterfaceClasskind: 1 (0.39%)
155   AMainMethPropdef: 1 (0.39%)
156   TKwimport: 1 (0.39%)
157 ## All identifiers of the AST
158  population: 19
159  minimum value: 1
160  maximum value: 11
161  total value: 54
162  average value: 2.84
163  distribution:
164   <=1: sub-population=2 (10.52%); cumulated value=2 (3.70%)
165   <=2: sub-population=12 (63.15%); cumulated value=24 (44.44%)
166   <=4: sub-population=3 (15.78%); cumulated value=10 (18.51%)
167   <=8: sub-population=1 (5.26%); cumulated value=7 (12.96%)
168   <=16: sub-population=1 (5.26%); cumulated value=11 (20.37%)
169  list:
170   output: 11 (20.37%)
171   Int: 7 (12.96%)
172   run: 4 (7.40%)
173   c: 3 (5.55%)
174   val: 3 (5.55%)
175   i: 2 (3.70%)
176   bar: 2 (3.70%)
177   foo: 2 (3.70%)
178   val2: 2 (3.70%)
179   val1: 2 (3.70%)
180   C: 2 (3.70%)
181   v: 2 (3.70%)
182   baz: 2 (3.70%)
183   a: 2 (3.70%)
184   A: 2 (3.70%)
185   B: 2 (3.70%)
186   b: 2 (3.70%)
187   Object: 1 (1.85%)
188   Bool: 1 (1.85%)
189 --- Global Summary metrics ---
190 (NMD) Number of Modules: 1
191 (NC)  Number of Classes: 4
192 (NI)  Number of Interfaces: 1
193 (NAC)  Number of Abstract Classes: 0
194 (NGC)  Number of Generic Classes: 0
195 (NGI)  Number of Generic Interfaces: 0
196 --- (SL) Std-Lib Summary metrics ---
197 (NMDSL) Number of Modules: 0
198 (NCSL)  Number of Classes: 0
199 (NISL)  Number of Interfaces: 0
200 (NACSL)  Number of Abstract Classes: 0
201 (NGCSL)  Number of Generic Classes: 0
202 (NGISL)  Number of Generic Interfaces: 0
203 --- (UD) User-Defined Summary metrics ---
204 (NMDUD) Number of Modules: 1
205 (NCUD)  Number of Classes: 4
206 (NIUD)  Number of Interfaces: 1
207 (NACUD)  Number of Abstract Classes: 0
208 (NGCUD)  Number of Generic Classes: 0
209 (NGIUD)  Number of Generic Interfaces: 0
210
211 --- Global Inheritance metrics ---
212 (DIT) Global Depth in Inheritance Tree: 0.85
213 (DUI) Proportion of types inheriting another type other than Object: 0.0%
214 (CCDUI) Proportion of classes that extend some other class: 0.0%
215 (CIDUI) Proportion of classes that implement some other interface: 0.0%
216 (IIDUI) Proportion of interfaces that extend some other interface: 0.0%
217 (IF) Proportion of types Inherited From: 20.00%
218 (CCIF) Proportion of classes extended by class: 0.0%
219 (ICIF) Proportion of interfaces implemented by class: 100.00%
220 (IIIF) Proportion of interfaces extended by interface: 100.00%
221
222 --- (SL -> *) Std-Lib Inheritance metrics ---
223 (SLDUI) Proportion of SL types inheriting another type other than Object: na%
224 (SLCCDUI) Proportion of SL classes that extend some other class: na%
225 (SLCIDUI) Proportion of SL classes that implement some other interface: na%
226 (SLIIDUI) Proportion of SL interfaces that extend some other interface: na%
227 (SLIF) Proportion of SL types Inherited From: na%
228 (SLCCIF) Proportion of SL classes extended by class: na%
229 (SLICIF) Proportion of SL interfaces implemented by class: na%
230 (SLIIIF) Proportion of SL interfaces extended by interface: na%
231
232 --- (SL -> SL) Std-Lib Inheritance metrics ---
233 (SLIFSL) Proportion of SL types Inherited From by SL type: na%
234 (SLCCIFSL) Proportion of SL classes extended by SL class: na%
235 (SLICIFSL) Proportion of SL interfaces implemented by SL class: na%
236 (SLIIIFSL) Proportion of SL interfaces extended by SL interface: na%
237
238 --- (SL->UD) Std-Lib Inheritance metrics ---
239 (SLIFUD) Proportion of SL types Inherited From by UD type: na%
240 (SLCCIFUD) Proportion of SL classes extended by UD class: na%
241 (SLICIFUD) Proportion of SL interfaces implemented by UD class: na%
242 (SLIIIFUD) Proportion of SL interfaces extended by UD interface: na%
243
244 --- (UD->*) User-Defined Inheritance metrics ---
245 (UDDUI) Proportion of UD types inheriting another type other than Object: 0.0%
246 (UDCCDUI) Proportion of UD classes that extend some other class: 0.0%
247 (UDCIDUI) Proportion of UD classes that implement some other interface: 0.0%
248 (UDIIDUI) Proportion of UD interfaces that extend some other interface: 0.0%
249 (UDIF) Proportion of UD types Inherited From: 20.00%
250 (UDCCIF) Proportion of UD classes extended by class: 0.0%
251 (UDICIF) Proportion of UD interfaces implemented by class: 100.00%
252 (UDIIIF) Proportion of UD interfaces extended by interface: 100.00%
253
254 --- (UD -> SL) User-Defined Inheritance metrics ---
255 (UDDUISL) Proportion of UD types inheriting another type other SL type: 0.0%
256 (UDCCDUISL) Proportion of UD classes that extend some other SL class: 0.0%
257 (UDCIDUISL) Proportion of UD classes that implement some other SL interface: 0.0%
258 (UDIIDUISL) Proportion of UD interfaces that extend some other SL interface: 0.0%
259
260 --- (UD -> UD) User-Defined Inheritance metrics ---
261 (UDDUIUD) Proportion of UD types inheriting another type other UD type: 0.0%
262 (UDCCDUIUD) Proportion of UD classes that extend some other UD class: 0.0%
263 (UDCIDUIUD) Proportion of UD classes that implement some other UD interface: 0.0%
264 (UDIIDUIUD) Proportion of UD interfaces that extend some other UD interface: 0.0%
265 (UDIFUD) Proportion of UD types Inherited From: 20.00%
266 (UDCCIFUD) Proportion of UD classes extended by UD class: 0.0%
267 (UDICIFUD) Proportion of UD interfaces implemented by UD class: 100.00%
268 (UDIIIFUD) Proportion of UD interfaces extended by UD interface: 100.00%
269 --- Metrics of refinement usage ---
270 Number of modules: 1
271
272 Number of classes: 7
273   Number of interface kind: 1 (14.28%)
274   Number of enum kind: 2 (28.57%)
275   Number of class kind: 4 (57.14%)
276
277 Number of class definitions: 8
278 Number of refined classes: 1 (14.28%)
279 Average number of class refinments by classes: 0.14
280 Average number of class refinments by refined classes: 1.00
281
282 Number of properties: 19
283   Number of MAttribute: 3 (15.78%)
284   Number of MMethod: 16 (84.21%)
285
286 Number of property definitions: 19
287 Number of redefined properties: 0 (0.0%)
288 Average number of property redefinitions by property: 0.0
289 Average number of property redefinitions by redefined property: na
290 --- Metrics of the explitic static types ---
291 Total number of explicit static types: 9
292 Statistics of type usage:
293  population: 4
294  minimum value: 1
295  maximum value: 6
296  total value: 9
297  average value: 2.25
298  distribution:
299   <=1: sub-population=3 (75.00%); cumulated value=3 (33.33%)
300   <=8: sub-population=1 (25.00%); cumulated value=6 (66.66%)
301  list:
302   Int: 6 (66.66%)
303   C: 1 (11.11%)
304   B: 1 (11.11%)
305   A: 1 (11.11%)
306 --- Sends on Nullable Reciever ---
307 Total number of sends: 19
308 Number of sends on a nullable receiver: 0 (0.0%)
309 Number of buggy sends (cannot determine the type of the receiver): 0 (0.0%)
310 --- Explicit vs. Implicit Self ---
311 Total number of self: 5
312 Total number of implicit self: 4 (80.00%)
313 --- Construction of tables ---
314 Number of runtime classes: 6 (excluding interfaces and abstract classes)
315 Average number of composing class definition by runtime class: 3.00
316 Total size of tables (classes and instances): 34 (not including stuff like info for subtyping or call-next-method)
317 Average size of table by runtime class: 5.66
318 Values never redefined: 34 (100.00%)
319 --- RTA metrics ---
320 Number of live runtime classes: 6
321         Sys Bool Int A B C
322 Number of live runtime types (instantied resolved type): 6
323         Sys Bool Int A B C
324 Number of live methods: 14
325 Number of live method definitions: 14
326 Number of live runtime cast types (ie used in as and isa): 0
327         
328 Number of dead method definitions of live methods: 0
329 generating out/nitmetrics_args1.write/project_hierarchy.dot
330 generating out/nitmetrics_args1.write/module_hierarchy.dot
331 class_hierarchy.dot
332 classdef_hierarchy.dot
333 model.html
334 module_hierarchy.dot
335 project_hierarchy.dot