Skip to main content

Table 11 Number of code smells originated and created in classes and methods

From: On the evaluation of code smells and detection tools

Code Smell On Creation After Creation Total
MM HW MM HW MM HW
God Class 10 (71.4%) 1 (50%) 4 (28.6%) 1 (50%) 14 2
God Method 19 (76%) 6 (100%) 6 (24%) 0 25 6
Feature Envy 3 (75%) 0 1 (25%) 0 4 0
Total 32 (74.4%) 7 (87.5%) 11 (25.6%) 1 (12.5%) 43 8