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