Research Article

MEnDiGa: A Minimal Engine for Digital Games

Table 1

OO metrics from original Super Jumper and cloned MEnDiGa version.

Metric propertyOriginal Super JumperCloned MEnDiGa version

Abstractness ( )0,1070,042
Afferent Coupling (Ca)14,82
Depth of Inheritance Tree (DIT)2,2311,87
Efferent Coupling (Ce)1317
Instability ( )0,410,895
Lack of Cohesion of Methods (LOCOM)0,0230,267
Cyclomatic Complexity1,5762,18
Average Lines of Code per Method7,1297,57
Average Nested Block Depth1,2421,6
Normalized Distance from Main Sequence (Dn)0,4830,064
Number of Attributes4490
Number of Classes6523
Number of Methods13194
Number of Overridden Methods4318
Number of Packages51
Average Number of Parameters0,8560,64
Number of Static Attributes4172
Number of Static Methods16
Total Lines of Code19121310
Weighted Methods per Class (WMC)208218