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