Suggestions(1)
Exact(9)
Therefore, it contributed to the increase in the number of God Methods.
However, as the system evolved, some of those methods were refactored, contributing to the decrease of God Methods, while others were either created as God Methods or became one with the addition of new functionality.
For instance, the number of God Methods is 6 in all versions of the Health Watcher system.
On the other hand, JSpIRIT reports 27 God Methods, while PMD and inFusion report similar numbers, 16 and 17, respectively.
All these changes lead to the variations in the number of God Methods in the system, either increasing or decreasing the number of smells without a fixed pattern.
There are no instances of Feature Envy in Health Watcher, therefore only the evolution of God Classes and God Methods is presented.
Similar(51)
In this paper, we focus on three code smells: God Class, God Method, and Feature Envy.
Figure 5 shows that some methods are created as God Method (19 of 25) and others become God Method with the evolution of the system (6 of 25).
For God Method, JDeodorant reports 100 methods, while the reference list has 67 methods.
For instance, the method BaseController.handleCommand was a God Method in versions 1 to 3.
Write better and faster with AI suggestions while staying true to your unique style.
Since I tried Ludwig back in 2017, I have been constantly using it in both editing and translation. Ever since, I suggest it to my translators at ProSciEditing.

Justyna Jupowicz-Kozak
CEO of Professional Science Editing for Scientists @ prosciediting.com