1 Runtime error: Assert failed (../src/metrics/metrics_base.nit:223)
6 ## project base_simple3
8 mnoa: number of ancestor modules
13 mnop: number of parent modules
18 mnoc: number of child modules
23 mnod: number of descendant modules
28 mdit: depth in module tree
33 mnbi: number of introduction in module
38 mnbr: number of refinement in module
43 mnbcc: number of concrete class in module (intro + redef)
48 mnbac: number of abstract class in module (intro + redef)
53 mnbic: number of interface in module (intro + redef)
60 mnoa: number of ancestor modules
65 mnop: number of parent modules
70 mnoc: number of child modules
75 mnod: number of descendant modules
80 mdit: depth in module tree
85 mnbi: number of introduction in module
90 mnbr: number of refinement in module
95 mnbcc: number of concrete class in module (intro + redef)
100 mnbac: number of abstract class in module (intro + redef)
102 max: base_simple3 (0)
103 min: base_simple3 (0)
105 mnbic: number of interface in module (intro + redef)
107 max: base_simple3 (2)
108 min: base_simple3 (2)
113 ## project base_simple3
114 `- group base_simple3
115 cnoa: number of ancestor classes
120 cnop: number of parent classes
125 cnoc: number of child classes
130 cnod: number of descendant classes
135 cdit: depth in class tree
140 cnbip: number of introduced properties
145 cnbrp: number of redefined properties
150 cnbhp: number of inherited properties
157 cnoa: number of ancestor classes
162 cnop: number of parent classes
167 cnoc: number of child classes
172 cnod: number of descendant classes
177 cdit: depth in class tree
182 cnbip: number of introduced properties
187 cnbrp: number of redefined properties
192 cnbhp: number of inherited properties
197 --- Poset metrics ---
198 ## Module importation hierarchy
200 Number of edges: 1 (1.00 per node)
201 Number of direct edges: 0 (0.0 per node)
202 Distribution of greaters
209 <=1: sub-population=1 (100.00%); cumulated value=1 (100.00%)
210 Distribution of direct greaters
217 <=0: sub-population=1 (100.00%); cumulated value=0 (na%)
218 Distribution of smallers
225 <=1: sub-population=1 (100.00%); cumulated value=1 (100.00%)
226 Distribution of direct smallers
233 <=0: sub-population=1 (100.00%); cumulated value=0 (na%)
234 ## Classdef hierarchy
236 Number of edges: 22 (2.75 per node)
237 Number of direct edges: 7 (0.87 per node)
238 Distribution of greaters
245 <=2: sub-population=2 (25.00%); cumulated value=4 (18.18%)
246 <=4: sub-population=6 (75.00%); cumulated value=18 (81.81%)
247 Distribution of direct greaters
254 <=0: sub-population=1 (12.50%); cumulated value=0 (0.0%)
255 <=1: sub-population=7 (87.50%); cumulated value=7 (100.00%)
256 Distribution of smallers
263 <=1: sub-population=6 (75.00%); cumulated value=6 (27.27%)
264 <=8: sub-population=2 (25.00%); cumulated value=16 (72.72%)
265 Distribution of direct smallers
272 <=0: sub-population=6 (75.00%); cumulated value=0 (0.0%)
273 <=1: sub-population=1 (12.50%); cumulated value=1 (14.28%)
274 <=8: sub-population=1 (12.50%); cumulated value=6 (85.71%)
277 Number of edges: 13 (1.85 per node)
278 Number of direct edges: 6 (0.85 per node)
279 Distribution of greaters
286 <=1: sub-population=1 (14.28%); cumulated value=1 (7.69%)
287 <=2: sub-population=6 (85.71%); cumulated value=12 (92.30%)
288 Distribution of direct greaters
295 <=0: sub-population=1 (14.28%); cumulated value=0 (0.0%)
296 <=1: sub-population=6 (85.71%); cumulated value=6 (100.00%)
297 Distribution of smallers
304 <=1: sub-population=6 (85.71%); cumulated value=6 (46.15%)
305 <=8: sub-population=1 (14.28%); cumulated value=7 (53.84%)
306 Distribution of direct smallers
313 <=0: sub-population=6 (85.71%); cumulated value=0 (0.0%)
314 <=8: sub-population=1 (14.28%); cumulated value=6 (100.00%)
316 ## All nodes of the AST
323 <=1: sub-population=14 (29.78%); cumulated value=14 (5.51%)
324 <=2: sub-population=6 (12.76%); cumulated value=12 (4.72%)
325 <=4: sub-population=9 (19.14%); cumulated value=29 (11.41%)
326 <=8: sub-population=10 (21.27%); cumulated value=61 (24.01%)
327 <=16: sub-population=4 (8.51%); cumulated value=44 (17.32%)
328 <=32: sub-population=3 (6.38%); cumulated value=55 (21.65%)
329 <=64: sub-population=1 (2.12%); cumulated value=39 (15.35%)
332 AListExprs: 19 (7.48%)
333 APublicVisibility: 18 (7.08%)
334 ACallExpr: 18 (7.08%)
340 ASignature: 8 (3.14%)
343 AMainClassdef: 1 (0.39%)
344 ATopClassdef: 1 (0.39%)
346 AReturnExpr: 1 (0.39%)
347 TKwinterface: 1 (0.39%)
349 AInterfaceClasskind: 1 (0.39%)
350 AMainMethPropdef: 1 (0.39%)
352 ## All identifiers of the AST
359 <=1: sub-population=2 (10.52%); cumulated value=2 (3.70%)
360 <=2: sub-population=12 (63.15%); cumulated value=24 (44.44%)
361 <=4: sub-population=3 (15.78%); cumulated value=10 (18.51%)
362 <=8: sub-population=1 (5.26%); cumulated value=7 (12.96%)
363 <=16: sub-population=1 (5.26%); cumulated value=11 (20.37%)
384 --- Metrics of refinement usage ---
388 Number of interface kind: 1 (14.28%)
389 Number of enum kind: 2 (28.57%)
390 Number of class kind: 4 (57.14%)
392 Number of class definitions: 8
393 Number of refined classes: 1 (14.28%)
394 Average number of class refinments by classes: 0.14
395 Average number of class refinments by refined classes: 1.00
397 Number of properties: 19
398 Number of MAttribute: 3 (15.78%)
399 Number of MMethod: 16 (84.21%)
401 Number of property definitions: 19
402 Number of redefined properties: 0 (0.0%)
403 Average number of property redefinitions by property: 0.0
404 Average number of property redefinitions by redefined property: na
405 --- Metrics of the explitic static types ---
406 Total number of explicit static types: 9
407 Statistics of type usage:
414 <=1: sub-population=3 (75.00%); cumulated value=3 (33.33%)
415 <=8: sub-population=1 (25.00%); cumulated value=6 (66.66%)
421 --- Sends on Nullable Receiver ---
422 Total number of sends: 19
423 Number of sends on a nullable receiver: 0 (0.0%)
424 Number of buggy sends (cannot determine the type of the receiver): 0 (0.0%)
425 --- Explicit vs. Implicit Self ---
426 Total number of self: 5
427 Total number of implicit self: 4 (80.00%)
428 --- Construction of tables ---
429 Number of runtime classes: 6 (excluding interfaces and abstract classes)
430 Average number of composing class definition by runtime class: 3.00
431 Total size of tables (classes and instances): 34 (not including stuff like info for subtyping or call-next-method)
432 Average size of table by runtime class: 5.66
433 Values never redefined: 34 (100.00%)
436 large mclasses (threshold: 2.291)
439 budding mclasses (threshold: 0.924)
442 blooming mclasses (threshold: 2.581)
445 blooming mclasses (threshold: 2.581)
448 generating out/nitmetrics_args1.write/project_hierarchy.dot
449 generating out/nitmetrics_args1.write/module_hierarchy.dot
451 # Inheritance metrics
453 ## project base_simple3
454 `- group base_simple3
455 cnoac: number of class_kind ancestor
460 cnopc: number of class_kind parent
465 cnocc: number of class_kind children
470 cnodc: number of class_kind descendants
475 cnopi: number of interface_kind parent
480 cnoci: number of interface_kind children
485 cnodi: number of interface_kind descendants
490 cditc: depth in class tree following only class, abstract, extern kind
495 cditi: depth in class tree following only interface_kind
500 mdui: proportion of mclass defined using inheritance (has other parent than Object)
502 max: base_simple3 (0.0)
503 min: base_simple3 (0.0)
505 mduic: proportion of class_kind defined using inheritance
507 max: base_simple3 (0.0)
508 min: base_simple3 (0.0)
510 mduii: proportion of interface_kind defined using inheritance
512 max: base_simple3 (0.0)
513 min: base_simple3 (0.0)
515 mif: proportion of mclass inherited from
517 max: base_simple3 (0.143)
518 min: base_simple3 (0.143)
520 mifc: proportion of class_kind inherited from
522 max: base_simple3 (0.0)
523 min: base_simple3 (0.0)
525 mifi: proportion of interface_kind inherited from
527 max: base_simple3 (0.143)
528 min: base_simple3 (0.143)
532 cnoac: number of class_kind ancestor
537 cnopc: number of class_kind parent
542 cnocc: number of class_kind children
547 cnodc: number of class_kind descendants
552 cnopi: number of interface_kind parent
557 cnoci: number of interface_kind children
562 cnodi: number of interface_kind descendants
567 cditc: depth in class tree following only class, abstract, extern kind
572 cditi: depth in class tree following only interface_kind
577 mdui: proportion of mclass defined using inheritance (has other parent than Object)
579 max: base_simple3 (0.0)
580 min: base_simple3 (0.0)
582 mduic: proportion of class_kind defined using inheritance
584 max: base_simple3 (0.0)
585 min: base_simple3 (0.0)
587 mduii: proportion of interface_kind defined using inheritance
589 max: base_simple3 (0.0)
590 min: base_simple3 (0.0)
592 mif: proportion of mclass inherited from
594 max: base_simple3 (0.143)
595 min: base_simple3 (0.143)
597 mifc: proportion of class_kind inherited from
599 max: base_simple3 (0.0)
600 min: base_simple3 (0.0)
602 mifi: proportion of interface_kind inherited from
604 max: base_simple3 (0.143)
605 min: base_simple3 (0.143)
610 ## Live instances by mainmodules
611 mnlc: number of live mclasses in a mmodule
613 max: base_simple3 (6)
614 min: base_simple3 (6)
616 mnlt: number of live mtypes in a mmodule
618 max: base_simple3 (6)
619 min: base_simple3 (6)
621 mnct: number of live cast mtypes in a mmodule
623 max: base_simple3 (0)
624 min: base_simple3 (0)
626 mnli: number of live instances in a mmodule
628 max: base_simple3 (17)
629 min: base_simple3 (17)
631 mnlm: number of live methods in a mmodule
633 max: base_simple3 (14)
634 min: base_simple3 (14)
636 mnlmd: number of live method definitions in a mmodule
638 max: base_simple3 (14)
639 min: base_simple3 (14)
641 mnldd: number of dead method definitions in a mmodule
643 max: base_simple3 (0)
644 min: base_simple3 (0)
647 ## Total live instances by mclasses
648 cnli: number of live instances for a mclass
654 classdef_hierarchy.dot
661 project_hierarchy.dot