5 ## project base_simple3
7 mnoa: number of ancestor modules
13 mnop: number of parent modules
19 mnoc: number of child modules
25 mnod: number of descendant modules
31 mdit: depth in module tree
37 mnbi: number of introduction in module
43 mnbr: number of refinement in module
49 mnbcc: number of concrete class in module (intro + redef)
55 mnbac: number of abstract class in module (intro + redef)
61 mnbic: number of interface in module (intro + redef)
69 mnoa: number of ancestor modules
75 mnop: number of parent modules
81 mnoc: number of child modules
87 mnod: number of descendant modules
93 mdit: depth in module tree
99 mnbi: number of introduction in module
101 max: base_simple3 (7)
102 min: base_simple3 (7)
105 mnbr: number of refinement in module
107 max: base_simple3 (0)
108 min: base_simple3 (0)
111 mnbcc: number of concrete class in module (intro + redef)
113 max: base_simple3 (4)
114 min: base_simple3 (4)
117 mnbac: number of abstract class in module (intro + redef)
119 max: base_simple3 (0)
120 min: base_simple3 (0)
123 mnbic: number of interface in module (intro + redef)
125 max: base_simple3 (1)
126 min: base_simple3 (1)
132 ## project base_simple3
133 `- group base_simple3
134 cnoa: number of ancestor classes
140 cnop: number of parent classes
146 cnoc: number of child classes
152 cnod: number of descendant classes
158 cdit: depth in class tree
164 cnbp: number of accessible properties (inherited + local)
170 cnba: number of accessible attributes (inherited + local)
176 cnbip: number of introduced properties
182 cnbrp: number of redefined properties
188 cnbhp: number of inherited properties
196 cnoa: number of ancestor classes
202 cnop: number of parent classes
208 cnoc: number of child classes
214 cnod: number of descendant classes
220 cdit: depth in class tree
226 cnbp: number of accessible properties (inherited + local)
232 cnba: number of accessible attributes (inherited + local)
238 cnbip: number of introduced properties
244 cnbrp: number of redefined properties
250 cnbhp: number of inherited properties
256 --- Poset metrics ---
257 ## Module importation hierarchy
259 Number of edges: 1 (1.00 per node)
260 Number of direct edges: 0 (0.00 per node)
261 Distribution of greaters
268 <=1: sub-population=1 (100.00%); cumulated value=1 (100.00%)
269 Distribution of direct greaters
276 <=0: sub-population=1 (100.00%); cumulated value=0 (na%)
277 Distribution of smallers
284 <=1: sub-population=1 (100.00%); cumulated value=1 (100.00%)
285 Distribution of direct smallers
292 <=0: sub-population=1 (100.00%); cumulated value=0 (na%)
293 ## Classdef hierarchy
295 Number of edges: 13 (1.85 per node)
296 Number of direct edges: 6 (0.85 per node)
297 Distribution of greaters
304 <=1: sub-population=1 (14.28%); cumulated value=1 (7.69%)
305 <=2: sub-population=6 (85.71%); cumulated value=12 (92.30%)
306 Distribution of direct greaters
313 <=0: sub-population=1 (14.28%); cumulated value=0 (0.00%)
314 <=1: sub-population=6 (85.71%); cumulated value=6 (100.00%)
315 Distribution of smallers
322 <=1: sub-population=6 (85.71%); cumulated value=6 (46.15%)
323 <=8: sub-population=1 (14.28%); cumulated value=7 (53.84%)
324 Distribution of direct smallers
331 <=0: sub-population=6 (85.71%); cumulated value=0 (0.00%)
332 <=8: sub-population=1 (14.28%); cumulated value=6 (100.00%)
335 Number of edges: 13 (1.85 per node)
336 Number of direct edges: 6 (0.85 per node)
337 Distribution of greaters
344 <=1: sub-population=1 (14.28%); cumulated value=1 (7.69%)
345 <=2: sub-population=6 (85.71%); cumulated value=12 (92.30%)
346 Distribution of direct greaters
353 <=0: sub-population=1 (14.28%); cumulated value=0 (0.00%)
354 <=1: sub-population=6 (85.71%); cumulated value=6 (100.00%)
355 Distribution of smallers
362 <=1: sub-population=6 (85.71%); cumulated value=6 (46.15%)
363 <=8: sub-population=1 (14.28%); cumulated value=7 (53.84%)
364 Distribution of direct smallers
371 <=0: sub-population=6 (85.71%); cumulated value=0 (0.00%)
372 <=8: sub-population=1 (14.28%); cumulated value=6 (100.00%)
374 ## All nodes of the AST
381 <=1: sub-population=15 (31.25%); cumulated value=15 (5.74%)
382 <=2: sub-population=5 (10.41%); cumulated value=10 (3.83%)
383 <=4: sub-population=10 (20.83%); cumulated value=32 (12.26%)
384 <=8: sub-population=10 (20.83%); cumulated value=64 (24.52%)
385 <=16: sub-population=4 (8.33%); cumulated value=44 (16.85%)
386 <=32: sub-population=3 (6.25%); cumulated value=56 (21.45%)
387 <=64: sub-population=1 (2.08%); cumulated value=40 (15.32%)
390 APublicVisibility: 19 (7.27%)
391 AListExprs: 19 (7.27%)
392 ACallExpr: 18 (6.89%)
395 ADecIntExpr: 10 (3.83%)
398 ASignature: 8 (3.06%)
400 ACallAssignExpr: 1 (0.38%)
401 AAnnotations: 1 (0.38%)
402 AReturnExpr: 1 (0.38%)
404 AInterfaceClasskind: 1 (0.38%)
405 TKwinterface: 1 (0.38%)
407 AMainMethPropdef: 1 (0.38%)
408 AMainClassdef: 1 (0.38%)
410 ## All identifiers of the AST
417 <=1: sub-population=3 (15.00%); cumulated value=3 (5.45%)
418 <=2: sub-population=12 (60.00%); cumulated value=24 (43.63%)
419 <=4: sub-population=3 (15.00%); cumulated value=10 (18.18%)
420 <=8: sub-population=1 (5.00%); cumulated value=7 (12.72%)
421 <=16: sub-population=1 (5.00%); cumulated value=11 (20.00%)
443 --- Metrics of refinement usage ---
447 Number of interface kind: 1 (14.28%)
448 Number of enum kind: 2 (28.57%)
449 Number of class kind: 4 (57.14%)
451 Number of class definitions: 7
452 Number of refined classes: 0 (0.00%)
453 Average number of class refinments by classes: 0.00
454 Average number of class refinments by refined classes: na
456 Number of properties: 18
457 Number of MAttribute: 3 (16.66%)
458 Number of MMethod: 15 (83.33%)
460 Number of property definitions: 20
461 Number of redefined properties: 1 (5.55%)
462 Average number of property redefinitions by property: 0.11
463 Average number of property redefinitions by redefined property: 2.00
464 --- Explicit vs. Implicit Self ---
465 Total number of self: 5
466 Total number of implicit self: 4 (80.00%)
467 --- Construction of tables ---
468 Number of runtime classes: 6 (excluding interfaces and abstract classes)
469 Average number of composing class definition by runtime class: 2.00
470 Total size of tables (classes and instances): 38 (not including stuff like info for subtyping or call-next-method)
471 Average size of table by runtime class: 6.33
472 Values never redefined: 32 (84.21%)
473 generating out/nitmetrics_args1.write/project_hierarchy.dot
474 generating out/nitmetrics_args1.write/module_hierarchy.dot
476 # Inheritance metrics
478 ## project base_simple3
479 `- group base_simple3
480 cnoac: number of class_kind ancestor
486 cnopc: number of class_kind parent
492 cnocc: number of class_kind children
498 cnodc: number of class_kind descendants
504 cnopi: number of interface_kind parent
510 cnoci: number of interface_kind children
516 cnodi: number of interface_kind descendants
522 cditc: depth in class tree following only class, abstract, extern kind
528 cditi: depth in class tree following only interface_kind
534 mdui: proportion of mclass defined using inheritance (has other parent than Object)
536 max: base_simple3 (0.0)
537 min: base_simple3 (0.0)
540 mduic: proportion of class_kind defined using inheritance
542 max: base_simple3 (0.0)
543 min: base_simple3 (0.0)
546 mduii: proportion of interface_kind defined using inheritance
548 max: base_simple3 (0.0)
549 min: base_simple3 (0.0)
552 mif: proportion of mclass inherited from
554 max: base_simple3 (0.143)
555 min: base_simple3 (0.143)
558 mifc: proportion of class_kind inherited from
560 max: base_simple3 (0.0)
561 min: base_simple3 (0.0)
564 mifi: proportion of interface_kind inherited from
566 max: base_simple3 (0.143)
567 min: base_simple3 (0.143)
572 cnoac: number of class_kind ancestor
578 cnopc: number of class_kind parent
584 cnocc: number of class_kind children
590 cnodc: number of class_kind descendants
596 cnopi: number of interface_kind parent
602 cnoci: number of interface_kind children
608 cnodi: number of interface_kind descendants
614 cditc: depth in class tree following only class, abstract, extern kind
620 cditi: depth in class tree following only interface_kind
626 mdui: proportion of mclass defined using inheritance (has other parent than Object)
628 max: base_simple3 (0.0)
629 min: base_simple3 (0.0)
632 mduic: proportion of class_kind defined using inheritance
634 max: base_simple3 (0.0)
635 min: base_simple3 (0.0)
638 mduii: proportion of interface_kind defined using inheritance
640 max: base_simple3 (0.0)
641 min: base_simple3 (0.0)
644 mif: proportion of mclass inherited from
646 max: base_simple3 (0.143)
647 min: base_simple3 (0.143)
650 mifc: proportion of class_kind inherited from
652 max: base_simple3 (0.0)
653 min: base_simple3 (0.0)
656 mifi: proportion of interface_kind inherited from
658 max: base_simple3 (0.143)
659 min: base_simple3 (0.143)
662 --- Metrics of the explitic static types ---
663 Total number of explicit static types: 9
664 Statistics of type usage:
671 <=1: sub-population=3 (75.00%); cumulated value=3 (33.33%)
672 <=8: sub-population=1 (25.00%); cumulated value=6 (66.66%)
680 large mclasses (threshold: 2.291)
683 budding mclasses (threshold: 0.693)
686 blooming mclasses (threshold: 1.935)
689 blooming mclasses (threshold: 1.935)
695 ## project base_simple3
696 `- group base_simple3
697 cnba: number of accessible attributes (inherited + local)
703 cnbna: number of accessible nullable attributes (inherited + local) -- nothing
707 cnba: number of accessible attributes (inherited + local)
713 cnbna: number of accessible nullable attributes (inherited + local) -- nothing
715 --- Sends on Nullable Receiver ---
716 Total number of sends: 19
717 Number of sends on a nullable receiver: 0 (0.00%)
718 Number of buggy sends (cannot determine the type of the receiver): 0 (0.00%)
722 ## Live instances by mainmodules
723 mnlc: number of live mclasses in a mmodule
725 max: base_simple3 (6)
726 min: base_simple3 (6)
729 mnlt: number of live mtypes in a mmodule
731 max: base_simple3 (6)
732 min: base_simple3 (6)
735 mnct: number of live cast mtypes in a mmodule
737 max: base_simple3 (0)
738 min: base_simple3 (0)
741 mnli: number of live instances in a mmodule
743 max: base_simple3 (17)
744 min: base_simple3 (17)
747 mnlm: number of live methods in a mmodule
749 max: base_simple3 (14)
750 min: base_simple3 (14)
753 mnlmd: number of live method definitions in a mmodule
755 max: base_simple3 (16)
756 min: base_simple3 (16)
759 mnldd: number of dead method definitions in a mmodule
761 max: base_simple3 (0)
762 min: base_simple3 (0)
766 ## Total live instances by mclasses
767 cnli: number of live instances for a mclass
773 cnlc: number of live cast for a mclass type -- nothing
776 ## Total live instances by mtypes
777 tnli: number of live instances for a mtype
783 tnlc: number of live casts to a mtype -- nothing
787 tags: arity of generic signature
793 tdos: depth of generic signature
802 MMethodDef locally designated (by number of CallSites)
809 <=1: sub-population=12 (92.30%); cumulated value=12 (54.54%)
810 <=16: sub-population=1 (7.69%); cumulated value=10 (45.45%)
812 base_simple3#Int#output: 10 (45.45%)
813 base_simple3#B#val: 1 (4.54%)
814 base_simple3#B#val=: 1 (4.54%)
815 base_simple3#C#val2: 1 (4.54%)
816 base_simple3#C#val1: 1 (4.54%)
818 base_simple3#A#init: 1 (4.54%)
819 base_simple3#Object#baz: 1 (4.54%)
820 base_simple3#Object#bar: 1 (4.54%)
821 base_simple3#Object#foo: 1 (4.54%)
822 base_simple3#C#init: 1 (4.54%)
823 MMethodDef possibly invoked at runtime (by number of CallSites)
830 <=1: sub-population=12 (92.30%); cumulated value=12 (54.54%)
831 <=16: sub-population=1 (7.69%); cumulated value=10 (45.45%)
833 base_simple3#Int#output: 10 (45.45%)
834 base_simple3#B#val: 1 (4.54%)
835 base_simple3#B#val=: 1 (4.54%)
836 base_simple3#C#val2: 1 (4.54%)
837 base_simple3#C#val1: 1 (4.54%)
839 base_simple3#A#init: 1 (4.54%)
840 base_simple3#Object#baz: 1 (4.54%)
841 base_simple3#Object#bar: 1 (4.54%)
842 base_simple3#Object#foo: 1 (4.54%)
843 base_simple3#C#init: 1 (4.54%)
845 classdef_hierarchy.dot
853 project_hierarchy.dot