Towards Feature Envy Design Flaw Detection at Block Level

2018 
Software is continuously evolving as bugs need to be fixed and new features need to be added. Design flaws hinder the simple evolution of software and thus, we have to detect and correct them. Feature Envy is an object-oriented design issue that can be detected at the level of methods using different state-of-the-art approaches. Unfortunately, these are insufficient because only a portion of a method may actually be affected by this flaw. Thus, only that part needs to be treated using the corresponding correction strategy, not the entire method. To address this issue, we propose the detection of Feature Envy code smell at the level of blocks of code. Initial evaluation suggests that our approach is promising in spotting the envious areas within a method.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    7
    References
    0
    Citations
    NaN
    KQI
    []