Runtime error: Assert failed (../src/metrics/metrics_base.nit:223) *** METRICS *** # MModules metrics ## project base_simple3 `- group base_simple3 mnoa: number of ancestor modules avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mnop: number of parent modules avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mnoc: number of child modules avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mnod: number of descendant modules avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mdit: depth in module tree avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mnbi: number of introduction in module avg: 7.0 max: base_simple3 (7) min: base_simple3 (7) std: 0.0 mnbr: number of refinement in module avg: 1.0 max: base_simple3 (1) min: base_simple3 (1) std: 0.0 mnbcc: number of concrete class in module (intro + redef) avg: 4.0 max: base_simple3 (4) min: base_simple3 (4) std: 0.0 mnbac: number of abstract class in module (intro + redef) avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mnbic: number of interface in module (intro + redef) avg: 2.0 max: base_simple3 (2) min: base_simple3 (2) std: 0.0 ## global metrics mnoa: number of ancestor modules avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mnop: number of parent modules avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mnoc: number of child modules avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mnod: number of descendant modules avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mdit: depth in module tree avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mnbi: number of introduction in module avg: 14.0 max: base_simple3 (7) min: base_simple3 (7) std: 7.0 mnbr: number of refinement in module avg: 2.0 max: base_simple3 (1) min: base_simple3 (1) std: 1.0 mnbcc: number of concrete class in module (intro + redef) avg: 8.0 max: base_simple3 (4) min: base_simple3 (4) std: 4.0 mnbac: number of abstract class in module (intro + redef) avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mnbic: number of interface in module (intro + redef) avg: 4.0 max: base_simple3 (2) min: base_simple3 (2) std: 2.0 # MClasses metrics ## project base_simple3 `- group base_simple3 cnoa: number of ancestor classes avg: 0.0 max: Bool (1) min: Object (0) std: 0.926 cnop: number of parent classes avg: 0.0 max: Bool (1) min: Object (0) std: 0.926 cnoc: number of child classes avg: 0.0 max: Object (6) min: Bool (0) std: 2.268 cnod: number of descendant classes avg: 0.0 max: Object (6) min: Bool (0) std: 2.268 cdit: depth in class tree avg: 0.0 max: Bool (1) min: Object (0) std: 0.926 cnbip: number of introduced properties avg: 2.0 max: C (7) min: Bool (0) std: 2.42 cnbrp: number of redefined properties avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cnbhp: number of inherited properties avg: 2.0 max: Bool (3) min: Object (0) std: 1.195 ## global metrics cnoa: number of ancestor classes avg: 0.0 max: Bool (1) min: Object (0) std: 0.926 cnop: number of parent classes avg: 0.0 max: Bool (1) min: Object (0) std: 0.926 cnoc: number of child classes avg: 0.0 max: Object (6) min: Bool (0) std: 2.268 cnod: number of descendant classes avg: 0.0 max: Object (6) min: Bool (0) std: 2.268 cdit: depth in class tree avg: 0.0 max: Bool (1) min: Object (0) std: 0.926 cnbip: number of introduced properties avg: 2.0 max: C (7) min: Bool (0) std: 2.42 cnbrp: number of redefined properties avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cnbhp: number of inherited properties avg: 2.0 max: Bool (3) min: Object (0) std: 1.195 --- Poset metrics --- ## Module importation hierarchy Number of nodes: 1 Number of edges: 1 (1.00 per node) Number of direct edges: 0 (0.0 per node) Distribution of greaters population: 1 minimum value: 1 maximum value: 1 total value: 1 average value: 1.00 distribution: <=1: sub-population=1 (100.00%); cumulated value=1 (100.00%) Distribution of direct greaters population: 1 minimum value: 0 maximum value: 0 total value: 0 average value: 0.0 distribution: <=0: sub-population=1 (100.00%); cumulated value=0 (na%) Distribution of smallers population: 1 minimum value: 1 maximum value: 1 total value: 1 average value: 1.00 distribution: <=1: sub-population=1 (100.00%); cumulated value=1 (100.00%) Distribution of direct smallers population: 1 minimum value: 0 maximum value: 0 total value: 0 average value: 0.0 distribution: <=0: sub-population=1 (100.00%); cumulated value=0 (na%) ## Classdef hierarchy Number of nodes: 8 Number of edges: 22 (2.75 per node) Number of direct edges: 7 (0.87 per node) Distribution of greaters population: 8 minimum value: 2 maximum value: 3 total value: 22 average value: 2.75 distribution: <=2: sub-population=2 (25.00%); cumulated value=4 (18.18%) <=4: sub-population=6 (75.00%); cumulated value=18 (81.81%) Distribution of direct greaters population: 8 minimum value: 0 maximum value: 1 total value: 7 average value: 0.87 distribution: <=0: sub-population=1 (12.50%); cumulated value=0 (0.0%) <=1: sub-population=7 (87.50%); cumulated value=7 (100.00%) Distribution of smallers population: 8 minimum value: 1 maximum value: 8 total value: 22 average value: 2.75 distribution: <=1: sub-population=6 (75.00%); cumulated value=6 (27.27%) <=8: sub-population=2 (25.00%); cumulated value=16 (72.72%) Distribution of direct smallers population: 8 minimum value: 0 maximum value: 6 total value: 7 average value: 0.87 distribution: <=0: sub-population=6 (75.00%); cumulated value=0 (0.0%) <=1: sub-population=1 (12.50%); cumulated value=1 (14.28%) <=8: sub-population=1 (12.50%); cumulated value=6 (85.71%) ## Class hierarchy Number of nodes: 7 Number of edges: 13 (1.85 per node) Number of direct edges: 6 (0.85 per node) Distribution of greaters population: 7 minimum value: 1 maximum value: 2 total value: 13 average value: 1.85 distribution: <=1: sub-population=1 (14.28%); cumulated value=1 (7.69%) <=2: sub-population=6 (85.71%); cumulated value=12 (92.30%) Distribution of direct greaters population: 7 minimum value: 0 maximum value: 1 total value: 6 average value: 0.85 distribution: <=0: sub-population=1 (14.28%); cumulated value=0 (0.0%) <=1: sub-population=6 (85.71%); cumulated value=6 (100.00%) Distribution of smallers population: 7 minimum value: 1 maximum value: 7 total value: 13 average value: 1.85 distribution: <=1: sub-population=6 (85.71%); cumulated value=6 (46.15%) <=8: sub-population=1 (14.28%); cumulated value=7 (53.84%) Distribution of direct smallers population: 7 minimum value: 0 maximum value: 6 total value: 6 average value: 0.85 distribution: <=0: sub-population=6 (85.71%); cumulated value=0 (0.0%) <=8: sub-population=1 (14.28%); cumulated value=6 (100.00%) --- AST Metrics --- ## All nodes of the AST population: 47 minimum value: 1 maximum value: 39 total value: 254 average value: 5.40 distribution: <=1: sub-population=14 (29.78%); cumulated value=14 (5.51%) <=2: sub-population=6 (12.76%); cumulated value=12 (4.72%) <=4: sub-population=9 (19.14%); cumulated value=29 (11.41%) <=8: sub-population=10 (21.27%); cumulated value=61 (24.01%) <=16: sub-population=4 (8.51%); cumulated value=44 (17.32%) <=32: sub-population=3 (6.38%); cumulated value=55 (21.65%) <=64: sub-population=1 (2.12%); cumulated value=39 (15.35%) list: TId: 39 (15.35%) AListExprs: 19 (7.48%) APublicVisibility: 18 (7.08%) ACallExpr: 18 (7.08%) TClassid: 15 (5.90%) TNumber: 10 (3.93%) AIntExpr: 10 (3.93%) AType: 9 (3.54%) TKwend: 8 (3.14%) ASignature: 8 (3.14%) ... AModule: 1 (0.39%) AMainClassdef: 1 (0.39%) ATopClassdef: 1 (0.39%) TKwreturn: 1 (0.39%) AReturnExpr: 1 (0.39%) TKwinterface: 1 (0.39%) ANoImport: 1 (0.39%) AInterfaceClasskind: 1 (0.39%) AMainMethPropdef: 1 (0.39%) TKwimport: 1 (0.39%) ## All identifiers of the AST population: 19 minimum value: 1 maximum value: 11 total value: 54 average value: 2.84 distribution: <=1: sub-population=2 (10.52%); cumulated value=2 (3.70%) <=2: sub-population=12 (63.15%); cumulated value=24 (44.44%) <=4: sub-population=3 (15.78%); cumulated value=10 (18.51%) <=8: sub-population=1 (5.26%); cumulated value=7 (12.96%) <=16: sub-population=1 (5.26%); cumulated value=11 (20.37%) list: output: 11 (20.37%) Int: 7 (12.96%) run: 4 (7.40%) c: 3 (5.55%) val: 3 (5.55%) i: 2 (3.70%) bar: 2 (3.70%) foo: 2 (3.70%) val2: 2 (3.70%) val1: 2 (3.70%) C: 2 (3.70%) v: 2 (3.70%) baz: 2 (3.70%) a: 2 (3.70%) A: 2 (3.70%) B: 2 (3.70%) b: 2 (3.70%) Object: 1 (1.85%) Bool: 1 (1.85%) --- Metrics of refinement usage --- Number of modules: 1 Number of classes: 7 Number of interface kind: 1 (14.28%) Number of enum kind: 2 (28.57%) Number of class kind: 4 (57.14%) Number of class definitions: 8 Number of refined classes: 1 (14.28%) Average number of class refinments by classes: 0.14 Average number of class refinments by refined classes: 1.00 Number of properties: 19 Number of MAttribute: 3 (15.78%) Number of MMethod: 16 (84.21%) Number of property definitions: 19 Number of redefined properties: 0 (0.0%) Average number of property redefinitions by property: 0.0 Average number of property redefinitions by redefined property: na --- Metrics of the explitic static types --- Total number of explicit static types: 9 Statistics of type usage: population: 4 minimum value: 1 maximum value: 6 total value: 9 average value: 2.25 distribution: <=1: sub-population=3 (75.00%); cumulated value=3 (33.33%) <=8: sub-population=1 (25.00%); cumulated value=6 (66.66%) list: Int: 6 (66.66%) C: 1 (11.11%) B: 1 (11.11%) A: 1 (11.11%) --- Sends on Nullable Receiver --- Total number of sends: 19 Number of sends on a nullable receiver: 0 (0.0%) Number of buggy sends (cannot determine the type of the receiver): 0 (0.0%) --- Explicit vs. Implicit Self --- Total number of self: 5 Total number of implicit self: 4 (80.00%) --- Construction of tables --- Number of runtime classes: 6 (excluding interfaces and abstract classes) Average number of composing class definition by runtime class: 3.00 Total size of tables (classes and instances): 34 (not including stuff like info for subtyping or call-next-method) Average size of table by runtime class: 5.66 Values never redefined: 34 (100.00%) # Mendel metrics large mclasses (threshold: 2.291) B: 3 C: 3 budding mclasses (threshold: 0.924) B: 1.0 C: 1.0 blooming mclasses (threshold: 2.581) B: 3.0 C: 3.0 blooming mclasses (threshold: 2.581) B: 3.0 C: 3.0 generating out/nitmetrics_args1.write/project_hierarchy.dot generating out/nitmetrics_args1.write/module_hierarchy.dot # Inheritance metrics ## project base_simple3 `- group base_simple3 cnoac: number of class_kind ancestor avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cnopc: number of class_kind parent avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cnocc: number of class_kind children avg: 0.0 max: Object (4) min: Bool (0) std: 1.512 cnodc: number of class_kind descendants avg: 0.0 max: Object (4) min: Bool (0) std: 1.512 cnopi: number of interface_kind parent avg: 0.0 max: Bool (1) min: Object (0) std: 0.926 cnoci: number of interface_kind children avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cnodi: number of interface_kind descendants avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cditc: depth in class tree following only class, abstract, extern kind avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cditi: depth in class tree following only interface_kind avg: 0.0 max: Bool (1) min: Object (0) std: 0.926 mdui: proportion of mclass defined using inheritance (has other parent than Object) avg: 0.0 max: base_simple3 (0.0) min: base_simple3 (0.0) std: 0.0 mduic: proportion of class_kind defined using inheritance avg: 0.0 max: base_simple3 (0.0) min: base_simple3 (0.0) std: 0.0 mduii: proportion of interface_kind defined using inheritance avg: 0.0 max: base_simple3 (0.0) min: base_simple3 (0.0) std: 0.0 mif: proportion of mclass inherited from avg: 0.143 max: base_simple3 (0.143) min: base_simple3 (0.143) std: 0.0 mifc: proportion of class_kind inherited from avg: 0.0 max: base_simple3 (0.0) min: base_simple3 (0.0) std: 0.0 mifi: proportion of interface_kind inherited from avg: 0.143 max: base_simple3 (0.143) min: base_simple3 (0.143) std: 0.0 ## global metrics cnoac: number of class_kind ancestor avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cnopc: number of class_kind parent avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cnocc: number of class_kind children avg: 1.0 max: Object (4) min: Bool (0) std: 1.464 cnodc: number of class_kind descendants avg: 1.0 max: Object (4) min: Bool (0) std: 1.464 cnopi: number of interface_kind parent avg: 1.0 max: Bool (1) min: Object (0) std: 0.378 cnoci: number of interface_kind children avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cnodi: number of interface_kind descendants avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cditc: depth in class tree following only class, abstract, extern kind avg: 0.0 max: Object (0) min: Object (0) std: 0.0 cditi: depth in class tree following only interface_kind avg: 1.0 max: Bool (1) min: Object (0) std: 0.378 mdui: proportion of mclass defined using inheritance (has other parent than Object) avg: 0.0 max: base_simple3 (0.0) min: base_simple3 (0.0) std: 0.0 mduic: proportion of class_kind defined using inheritance avg: 0.0 max: base_simple3 (0.0) min: base_simple3 (0.0) std: 0.0 mduii: proportion of interface_kind defined using inheritance avg: 0.0 max: base_simple3 (0.0) min: base_simple3 (0.0) std: 0.0 mif: proportion of mclass inherited from avg: 0.143 max: base_simple3 (0.143) min: base_simple3 (0.143) std: 0.0 mifc: proportion of class_kind inherited from avg: 0.0 max: base_simple3 (0.0) min: base_simple3 (0.0) std: 0.0 mifi: proportion of interface_kind inherited from avg: 0.143 max: base_simple3 (0.143) min: base_simple3 (0.143) std: 0.0 # RTA metrics ## Live instances by mainmodules mnlc: number of live mclasses in a mmodule avg: 6.0 max: base_simple3 (6) min: base_simple3 (6) std: 0.0 mnlt: number of live mtypes in a mmodule avg: 6.0 max: base_simple3 (6) min: base_simple3 (6) std: 0.0 mnct: number of live cast mtypes in a mmodule avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 mnli: number of live instances in a mmodule avg: 17.0 max: base_simple3 (17) min: base_simple3 (17) std: 0.0 mnlm: number of live methods in a mmodule avg: 14.0 max: base_simple3 (14) min: base_simple3 (14) std: 0.0 mnlmd: number of live method definitions in a mmodule avg: 14.0 max: base_simple3 (14) min: base_simple3 (14) std: 0.0 mnldd: number of dead method definitions in a mmodule avg: 0.0 max: base_simple3 (0) min: base_simple3 (0) std: 0.0 ## Total live instances by mclasses cnli: number of live instances for a mclass avg: 2.0 max: Int (12) min: Sys (1) std: 4.183 class_hierarchy.dot classdef_hierarchy.dot inheritance/ mclasses/ mendel/ mmodules/ model.html module_hierarchy.dot project_hierarchy.dot rta/