X-Git-Url: http://nitlanguage.org diff --git a/tests/sav/nitmetrics_args1.res b/tests/sav/nitmetrics_args1.res index a6d703a..cb5affc 100644 --- a/tests/sav/nitmetrics_args1.res +++ b/tests/sav/nitmetrics_args1.res @@ -2,7 +2,7 @@ # MModules metrics - ## project base_simple3 + ## package base_simple3 `- group base_simple3 mnoa: number of ancestor modules avg: 0.0 @@ -275,41 +275,41 @@ Distribution of direct smallers <=8: sub-population=1 (14.28%); cumulated value=6 (100.00%) --- AST Metrics --- ## All nodes of the AST - population: 50 + population: 51 minimum value: 1 maximum value: 40 - total value: 270 - average value: 5.40 + total value: 289 + average value: 5.66 distribution: - <=1: sub-population=16 (32.00%); cumulated value=16 (5.92%) - <=2: sub-population=5 (10.00%); cumulated value=10 (3.70%) - <=4: sub-population=9 (18.00%); cumulated value=28 (10.37%) - <=8: sub-population=12 (24.00%); cumulated value=76 (28.14%) - <=16: sub-population=4 (8.00%); cumulated value=44 (16.29%) - <=32: sub-population=3 (6.00%); cumulated value=56 (20.74%) - <=64: sub-population=1 (2.00%); cumulated value=40 (14.81%) + <=1: sub-population=16 (31.37%); cumulated value=16 (5.53%) + <=2: sub-population=5 (9.80%); cumulated value=10 (3.46%) + <=4: sub-population=9 (17.64%); cumulated value=28 (9.68%) + <=8: sub-population=12 (23.52%); cumulated value=76 (26.29%) + <=16: sub-population=4 (7.84%); cumulated value=44 (15.22%) + <=32: sub-population=4 (7.84%); cumulated value=75 (25.95%) + <=64: sub-population=1 (1.96%); cumulated value=40 (13.84%) list: - TId: 40 (14.81%) - APublicVisibility: 19 (7.03%) - AListExprs: 19 (7.03%) - ACallExpr: 18 (6.66%) - TClassid: 15 (5.55%) - TNumber: 10 (3.70%) - ADecIntExpr: 10 (3.70%) - AType: 9 (3.33%) - TKwend: 8 (2.96%) - ASignature: 8 (2.96%) + TId: 40 (13.84%) + APublicVisibility: 19 (6.57%) + AQid: 19 (6.57%) + AListExprs: 19 (6.57%) + ACallExpr: 18 (6.22%) + TClassid: 15 (5.19%) + TInteger: 10 (3.46%) + AIntegerExpr: 10 (3.46%) + AType: 9 (3.11%) + TKwend: 8 (2.76%) ... - ASelfExpr: 1 (0.37%) - AAnnotations: 1 (0.37%) - ACallAssignExpr: 1 (0.37%) - TKwreturn: 1 (0.37%) - AInterfaceClasskind: 1 (0.37%) - TKwinterface: 1 (0.37%) - ANoImport: 1 (0.37%) - AMainMethPropdef: 1 (0.37%) - AMainClassdef: 1 (0.37%) - TKwimport: 1 (0.37%) + ACallAssignExpr: 1 (0.34%) + AAnnotations: 1 (0.34%) + TKwreturn: 1 (0.34%) + AReturnExpr: 1 (0.34%) + AInterfaceClasskind: 1 (0.34%) + TKwinterface: 1 (0.34%) + ANoImport: 1 (0.34%) + AMainMethPropdef: 1 (0.34%) + AMainClassdef: 1 (0.34%) + TKwimport: 1 (0.34%) ## All identifiers of the AST population: 20 minimum value: 1 @@ -364,7 +364,7 @@ Distribution of direct smallers # MClasses metrics - ## project base_simple3 + ## package base_simple3 `- group base_simple3 cnoa: number of ancestor classes avg: 0.0 @@ -488,12 +488,12 @@ Distribution of direct smallers min: Object (0) std: 0.926 sum: 6 -generating project_hierarchy.dot +generating package_hierarchy.dot generating module_hierarchy.dot # Inheritance metrics - ## project base_simple3 + ## package base_simple3 `- group base_simple3 cnoac: number of class_kind ancestor avg: 0.0 @@ -751,7 +751,7 @@ Statistics of type usage: # Nullable metrics - ## project base_simple3 + ## package base_simple3 `- group base_simple3 cnba: number of accessible attributes (inherited + local) avg: 0.0 @@ -858,49 +858,49 @@ Number of buggy sends (cannot determine the type of the receiver): 0 (0.00%) sum: 0 ## Callsites -* 22 live callsites +* 23 live callsites MMethodDef locally designated (by number of CallSites) - population: 13 + population: 14 minimum value: 1 maximum value: 10 - total value: 22 - average value: 1.69 + total value: 23 + average value: 1.64 distribution: - <=1: sub-population=12 (92.30%); cumulated value=12 (54.54%) - <=16: sub-population=1 (7.69%); cumulated value=10 (45.45%) + <=1: sub-population=13 (92.85%); cumulated value=13 (56.52%) + <=16: sub-population=1 (7.14%); cumulated value=10 (43.47%) list: - base_simple3#Int#output: 10 (45.45%) - base_simple3#B#val: 1 (4.54%) - base_simple3#B#val=: 1 (4.54%) - base_simple3#C#val2: 1 (4.54%) - base_simple3#C#val1: 1 (4.54%) + base_simple3#Int#output: 10 (43.47%) + base_simple3#B#val: 1 (4.34%) + base_simple3#B#val=: 1 (4.34%) + base_simple3#Object#init: 1 (4.34%) + base_simple3#C#val2: 1 (4.34%) ... - base_simple3#A#init: 1 (4.54%) - base_simple3#Sys#baz: 1 (4.54%) - base_simple3#Sys#bar: 1 (4.54%) - base_simple3#Sys#foo: 1 (4.54%) - base_simple3#C#init: 1 (4.54%) + base_simple3#A#init: 1 (4.34%) + base_simple3#Sys#baz: 1 (4.34%) + base_simple3#Sys#bar: 1 (4.34%) + base_simple3#Sys#foo: 1 (4.34%) + base_simple3#C#init: 1 (4.34%) MMethodDef possibly invoked at runtime (by number of CallSites) - population: 13 + population: 14 minimum value: 1 maximum value: 10 - total value: 22 - average value: 1.69 + total value: 23 + average value: 1.64 distribution: - <=1: sub-population=12 (92.30%); cumulated value=12 (54.54%) - <=16: sub-population=1 (7.69%); cumulated value=10 (45.45%) + <=1: sub-population=13 (92.85%); cumulated value=13 (56.52%) + <=16: sub-population=1 (7.14%); cumulated value=10 (43.47%) list: - base_simple3#Int#output: 10 (45.45%) - base_simple3#B#val: 1 (4.54%) - base_simple3#B#val=: 1 (4.54%) - base_simple3#C#val2: 1 (4.54%) - base_simple3#C#val1: 1 (4.54%) + base_simple3#Int#output: 10 (43.47%) + base_simple3#B#val: 1 (4.34%) + base_simple3#B#val=: 1 (4.34%) + base_simple3#Object#init: 1 (4.34%) + base_simple3#C#val2: 1 (4.34%) ... - base_simple3#A#init: 1 (4.54%) - base_simple3#Sys#baz: 1 (4.54%) - base_simple3#Sys#bar: 1 (4.54%) - base_simple3#Sys#foo: 1 (4.54%) - base_simple3#C#init: 1 (4.54%) + base_simple3#A#init: 1 (4.34%) + base_simple3#Sys#baz: 1 (4.34%) + base_simple3#Sys#bar: 1 (4.34%) + base_simple3#Sys#foo: 1 (4.34%) + base_simple3#C#init: 1 (4.34%) class_hierarchy.dot classdef_hierarchy.dot inheritance/ @@ -910,5 +910,5 @@ mmodules/ model.html module_hierarchy.dot nullables/ -project_hierarchy.dot +package_hierarchy.dot rta/