51028931856573c51ccb50dd8d23026c76293e22
[nit.git] / tests / sav / nitmetrics_args1.res
1 *** METRICS ***
2 --- Global Summary metrics ---
3 (NMD) Number of Modules: 1
4 (NC)  Number of Classes: 4
5 (NI)  Number of Interfaces: 1
6 (NAC)  Number of Abstract Classes: 0
7 (NGC)  Number of Generic Classes: 0
8 (NGI)  Number of Generic Interfaces: 0
9 --- (SL) Std-Lib Summary metrics ---
10 (NMDSL) Number of Modules: 0
11 (NCSL)  Number of Classes: 0
12 (NISL)  Number of Interfaces: 0
13 (NACSL)  Number of Abstract Classes: 0
14 (NGCSL)  Number of Generic Classes: 0
15 (NGISL)  Number of Generic Interfaces: 0
16 --- (UD) User-Defined Summary metrics ---
17 (NMDUD) Number of Modules: 1
18 (NCUD)  Number of Classes: 4
19 (NIUD)  Number of Interfaces: 1
20 (NACUD)  Number of Abstract Classes: 0
21 (NGCUD)  Number of Generic Classes: 0
22 (NGIUD)  Number of Generic Interfaces: 0
23
24 --- Global Inheritance metrics ---
25 (DIT) Global Depth in Inheritance Tree: 0.85
26 (DUI) Proportion of types inheriting another type other than Object: 0.0%
27 (CCDUI) Proportion of classes that extend some other class: 0.0%
28 (CIDUI) Proportion of classes that implement some other interface: 0.0%
29 (IIDUI) Proportion of interfaces that extend some other interface: 0.0%
30 (IF) Proportion of types Inherited From: 20.00%
31 (CCIF) Proportion of classes extended by class: 0.0%
32 (ICIF) Proportion of interfaces implemented by class: 100.00%
33 (IIIF) Proportion of interfaces extended by interface: 0.0%
34
35 --- (SL -> *) Std-Lib Inheritance metrics ---
36 (SLDUI) Proportion of SL types inheriting another type other than Object: na%
37 (SLCCDUI) Proportion of SL classes that extend some other class: na%
38 (SLCIDUI) Proportion of SL classes that implement some other interface: na%
39 (SLIIDUI) Proportion of SL interfaces that extend some other interface: na%
40 (SLIF) Proportion of SL types Inherited From: na%
41 (SLCCIF) Proportion of SL classes extended by class: na%
42 (SLICIF) Proportion of SL interfaces implemented by class: na%
43 (SLIIIF) Proportion of SL interfaces extended by interface: na%
44
45 --- (SL -> SL) Std-Lib Inheritance metrics ---
46 (SLIFSL) Proportion of SL types Inherited From by SL type: na%
47 (SLCCIFSL) Proportion of SL classes extended by SL class: na%
48 (SLICIFSL) Proportion of SL interfaces implemented by SL class: na%
49 (SLIIIFSL) Proportion of SL interfaces extended by SL interface: na%
50
51 --- (SL->UD) Std-Lib Inheritance metrics ---
52 (SLIFUD) Proportion of SL types Inherited From by UD type: na%
53 (SLCCIFUD) Proportion of SL classes extended by UD class: na%
54 (SLICIFUD) Proportion of SL interfaces implemented by UD class: na%
55 (SLIIIFUD) Proportion of SL interfaces extended by UD interface: na%
56
57 --- (UD->*) User-Defined Inheritance metrics ---
58 (UDDUI) Proportion of UD types inheriting another type other than Object: 0.0%
59 (UDCCDUI) Proportion of UD classes that extend some other class: 0.0%
60 (UDCIDUI) Proportion of UD classes that implement some other interface: 0.0%
61 (UDIIDUI) Proportion of UD interfaces that extend some other interface: 0.0%
62 (UDIF) Proportion of UD types Inherited From: 20.00%
63 (UDCCIF) Proportion of UD classes extended by class: 0.0%
64 (UDICIF) Proportion of UD interfaces implemented by class: 100.00%
65 (UDIIIF) Proportion of UD interfaces extended by interface: 0.0%
66
67 --- (UD -> SL) User-Defined Inheritance metrics ---
68 (UDDUISL) Proportion of UD types inheriting another type other SL type: 0.0%
69 (UDCCDUISL) Proportion of UD classes that extend some other SL class: 0.0%
70 (UDCIDUISL) Proportion of UD classes that implement some other SL interface: 0.0%
71 (UDIIDUISL) Proportion of UD interfaces that extend some other SL interface: 0.0%
72
73 --- (UD -> UD) User-Defined Inheritance metrics ---
74 (UDDUIUD) Proportion of UD types inheriting another type other UD type: 0.0%
75 (UDCCDUIUD) Proportion of UD classes that extend some other UD class: 0.0%
76 (UDCIDUIUD) Proportion of UD classes that implement some other UD interface: 0.0%
77 (UDIIDUIUD) Proportion of UD interfaces that extend some other UD interface: 0.0%
78 (UDIFUD) Proportion of UD types Inherited From: 20.00%
79 (UDCCIFUD) Proportion of UD classes extended by UD class: 0.0%
80 (UDICIFUD) Proportion of UD interfaces implemented by UD class: 100.00%
81 (UDIIIFUD) Proportion of UD interfaces extended by UD interface: 0.0%
82 --- Metrics of refinement usage ---
83 Number of modules: 1
84
85 Number of classes: 7
86   Number of interface kind: 1 (14.28%)
87   Number of enum kind: 2 (28.57%)
88   Number of class kind: 4 (57.14%)
89
90 Number of class definitions: 8
91 Number of refined classes: 1 (14.28%)
92 Average number of class refinments by classes: 0.14
93 Average number of class refinments by refined classes: 1.00
94
95 Number of properties: 19
96   Number of MAttribute: 3 (15.78%)
97   Number of MMethod: 16 (84.21%)
98
99 Number of property definitions: 19
100 Number of redefined properties: 0 (0.0%)
101 Average number of property redefinitions by property: 0.0
102 Average number of property redefinitions by redefined property: na
103 --- Metrics of the explitic static types ---
104 Total number of explicit static types: 9
105 Most used types: 
106   Int: 6
107   C: 1
108   B: 1
109   A: 1
110 Statistics of type usage:
111  population: 4
112  minimum value: 1
113  maximum value: 6
114  total value: 9
115  average value: 2.25
116  distribution:
117   <=1: sub-population=3 (75.00%); cumulated value=3 (33.33%)
118   <=8: sub-population=1 (25.00%); cumulated value=6 (66.66%)
119 --- Sends on Nullable Reciever ---
120 Total number of sends: 19
121 Number of sends on a nullable receiver: 0 (0.0%)
122 Number of buggy sends (cannot determine the type of the receiver): 0 (0.0%)
123 --- Explicit vs. Implicit Self ---
124 Total number of self: 5
125 Total number of implicit self: 4 (80.00%)
126 --- Construction of tables ---
127 Number of runtime classes: 6 (excluding interfaces and abstract classes)
128 Average number of composing class definition by runtime class: 3.00
129 Total size of tables (classes and instances): 34 (not including stuff like info for subtyping or call-next-method)
130 Average size of table by runtime class: 5.66
131 Values never redefined: 34 (100.00%)
132 --- RTA metrics ---
133 Number of live runtime types (instantied resolved type): 6
134         Sys Bool Int A B C
135 Number of live method definitions: 14
136 Number of live customized method definitions: 14
137 Number of live runtime cast types (ie used in as and isa): 0
138         
139 class_hierarchy.dot
140 classdef_hierarchy.dot
141 model.html
142 module_hierarchy.dot