Feature envy factor: A metric for automatic feature envy detection

As a software system evolves, its design get deteriorated and the system becomes difficult to maintain. In order to improve such an internal quality, the system must be restructured without affecting its external behavior. The process involves detecting the design flaws (or code smells) and applying...

Full description

Saved in:
Bibliographic Details
Published in2015 7th International Conference on Knowledge and Smart Technology (KST) pp. 7 - 12
Main Author Nongpong, Kwankamol
Format Conference Proceeding
LanguageEnglish
Published IEEE 01.01.2015
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:As a software system evolves, its design get deteriorated and the system becomes difficult to maintain. In order to improve such an internal quality, the system must be restructured without affecting its external behavior. The process involves detecting the design flaws (or code smells) and applying appropriate refactorings that could help remove such flaws. One of the design flaws in many object-oriented systems is placing members in the wrong class. This code smell is called Feature Envy and it is a sign of inappropriate coupling and cohesion. This work proposes a metric to detect Feature Envy code smell that can be removed by relocating the method. Our evaluation shows promising results as the overall system's complexity is reduced after suggested Move Method refactorings are applied.
ISBN:9781479960484
1479960489
DOI:10.1109/KST.2015.7051460