tests: update ni-merge related tests
[nit.git] / tests / sav / nitmetrics_args1.sav
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 --- Construction of tables ---
157 Number of runtime classes: 6 (excluding interfaces and abstract classes)
158 Average number of composing class definition by runtime class: 3.00
159 Total size of tables (classes and instances): 34 (not including stuff like info for subtyping or call-next-method)
160 Average size of table by runtime class: 5.66
161 Values never redefined: 34 (100.00%)
162 --- RTA metrics ---
163 Number of live runtime types (instantied resolved type): 6
164         Sys Bool Int A B C
165 Number of live method definitions: 14
166 Number of live customized method definitions: 14
167 Number of live runtime cast types (ie used in as and isa): 0
168         
169 --- Explicit vs. Implicit Self ---
170 Total number of self: 5
171 Total number of implicit self: 4 (80.00%)
172 --- Sends on Nullable Reciever ---
173 Total number of sends: 19
174 Number of sends on a nullable receiver: 0 (0.0%)
175 Number of buggy sends (cannot determine the type of the receiver): 0 (0.0%)
176 --- Metrics of the explitic static types ---
177 Total number of explicit static types: 9
178 Most used types: 
179   Int: 6
180   C: 1
181   B: 1
182   A: 1
183 Statistics of type usage:
184  population: 4
185  minimum value: 1
186  maximum value: 6
187  total value: 9
188  average value: 2.25
189  distribution:
190   <=1: sub-population=3 (75.00%); cumulated value=3 (33.33%)
191   <=8: sub-population=1 (25.00%); cumulated value=6 (66.66%)
192 --- Metrics of refinement usage ---
193 Number of modules: 1
194
195 Number of classes: 7
196   Number of interface kind: 1 (14.28%)
197   Number of enum kind: 2 (28.57%)
198   Number of class kind: 4 (57.14%)
199
200 Number of class definitions: 8
201 Number of refined classes: 1 (14.28%)
202 Average number of class refinments by classes: 0.14
203 Average number of class refinments by refined classes: 1.00
204
205 Number of properties: 19
206   Number of MAttribute: 3 (15.78%)
207   Number of MMethod: 16 (84.21%)
208
209 Number of property definitions: 19
210 Number of redefined properties: 0 (0.0%)
211 Average number of property redefinitions by property: 0.0
212 Average number of property redefinitions by redefined property: na
213 --- Global Summary metrics ---
214 (NMD) Number of Modules: 1
215 (NC)  Number of Classes: 4
216 (NI)  Number of Interfaces: 1
217 (NAC)  Number of Abstract Classes: 0
218 (NGC)  Number of Generic Classes: 0
219 (NGI)  Number of Generic Interfaces: 0
220 --- (SL) Std-Lib Summary metrics ---
221 (NMDSL) Number of Modules: 0
222 (NCSL)  Number of Classes: 0
223 (NISL)  Number of Interfaces: 0
224 (NACSL)  Number of Abstract Classes: 0
225 (NGCSL)  Number of Generic Classes: 0
226 (NGISL)  Number of Generic Interfaces: 0
227 --- (UD) User-Defined Summary metrics ---
228 (NMDUD) Number of Modules: 1
229 (NCUD)  Number of Classes: 4
230 (NIUD)  Number of Interfaces: 1
231 (NACUD)  Number of Abstract Classes: 0
232 (NGCUD)  Number of Generic Classes: 0
233 (NGIUD)  Number of Generic Interfaces: 0
234
235 --- Global Inheritance metrics ---
236 (DIT) Global Depth in Inheritance Tree: 0.85
237 (DUI) Proportion of types inheriting another type other than Object: 0.0%
238 (CCDUI) Proportion of classes that extend some other class: 0.0%
239 (CIDUI) Proportion of classes that implement some other interface: 0.0%
240 (IIDUI) Proportion of interfaces that extend some other interface: 0.0%
241 (IF) Proportion of types Inherited From: 20.00%
242 (CCIF) Proportion of classes extended by class: 0.0%
243 (ICIF) Proportion of interfaces implemented by class: 100.00%
244 (IIIF) Proportion of interfaces extended by interface: 100.00%
245
246 --- (SL -> *) Std-Lib Inheritance metrics ---
247 (SLDUI) Proportion of SL types inheriting another type other than Object: na%
248 (SLCCDUI) Proportion of SL classes that extend some other class: na%
249 (SLCIDUI) Proportion of SL classes that implement some other interface: na%
250 (SLIIDUI) Proportion of SL interfaces that extend some other interface: na%
251 (SLIF) Proportion of SL types Inherited From: na%
252 (SLCCIF) Proportion of SL classes extended by class: na%
253 (SLICIF) Proportion of SL interfaces implemented by class: na%
254 (SLIIIF) Proportion of SL interfaces extended by interface: na%
255
256 --- (SL -> SL) Std-Lib Inheritance metrics ---
257 (SLIFSL) Proportion of SL types Inherited From by SL type: na%
258 (SLCCIFSL) Proportion of SL classes extended by SL class: na%
259 (SLICIFSL) Proportion of SL interfaces implemented by SL class: na%
260 (SLIIIFSL) Proportion of SL interfaces extended by SL interface: na%
261
262 --- (SL->UD) Std-Lib Inheritance metrics ---
263 (SLIFUD) Proportion of SL types Inherited From by UD type: na%
264 (SLCCIFUD) Proportion of SL classes extended by UD class: na%
265 (SLICIFUD) Proportion of SL interfaces implemented by UD class: na%
266 (SLIIIFUD) Proportion of SL interfaces extended by UD interface: na%
267
268 --- (UD->*) User-Defined Inheritance metrics ---
269 (UDDUI) Proportion of UD types inheriting another type other than Object: 0.0%
270 (UDCCDUI) Proportion of UD classes that extend some other class: 0.0%
271 (UDCIDUI) Proportion of UD classes that implement some other interface: 0.0%
272 (UDIIDUI) Proportion of UD interfaces that extend some other interface: 0.0%
273 (UDIF) Proportion of UD types Inherited From: 20.00%
274 (UDCCIF) Proportion of UD classes extended by class: 0.0%
275 (UDICIF) Proportion of UD interfaces implemented by class: 100.00%
276 (UDIIIF) Proportion of UD interfaces extended by interface: 100.00%
277
278 --- (UD -> SL) User-Defined Inheritance metrics ---
279 (UDDUISL) Proportion of UD types inheriting another type other SL type: 0.0%
280 (UDCCDUISL) Proportion of UD classes that extend some other SL class: 0.0%
281 (UDCIDUISL) Proportion of UD classes that implement some other SL interface: 0.0%
282 (UDIIDUISL) Proportion of UD interfaces that extend some other SL interface: 0.0%
283
284 --- (UD -> UD) User-Defined Inheritance metrics ---
285 (UDDUIUD) Proportion of UD types inheriting another type other UD type: 0.0%
286 (UDCCDUIUD) Proportion of UD classes that extend some other UD class: 0.0%
287 (UDCIDUIUD) Proportion of UD classes that implement some other UD interface: 0.0%
288 (UDIIDUIUD) Proportion of UD interfaces that extend some other UD interface: 0.0%
289 (UDIFUD) Proportion of UD types Inherited From: 20.00%
290 (UDCCIFUD) Proportion of UD classes extended by UD class: 0.0%
291 (UDICIFUD) Proportion of UD interfaces implemented by UD class: 100.00%
292 (UDIIIFUD) Proportion of UD interfaces extended by UD interface: 100.00%
293 class_hierarchy.dot
294 classdef_hierarchy.dot
295 model.html
296 module_hierarchy.dot