Research Article
Exploring the Eradication of Code Smells: An Empirical and Theoretical Perspective
Table 3
Smells that were partially remedied.
| Code smell | Name | Refactorings |
| 3 |
Data Class | Move Method | Encapsulate Field | Encapsulate Collection |
| 7 |
Feature Envy | Move Method | Move Field | Extract Method |
| 8 |
Inappropriate Intimacy | Move Method | Move Field | Change Bidirectional Association to Unidirectional | Replace Inheritance with Delegation | Hide Delegate |
| 10 |
Large Class | Extract Class | Extract Subclass | Extract Interface | Replace Data Value with Object |
| 19 |
Shotgun Surgery | Move Method | Move Field | Inline Class |
| 20 |
Speculative Generality | Collapse Hierarchy | Inline Class | Remove Parameter | Rename Method |
|
|