Feature Envy Factor A Metric for Automatic Feature Envy Detection
Feature Envy Factor A Metric for Automatic Feature Envy Detection
Files (excerpt)
Published date
2015
Resource type
Publisher
ISBN
ISSN
DOI
Call no.
Other identifier(s)
Edition
Copyrighted date
Language
eng
File type
application/pdf
Extent
6 pages
Other title(s)
Authors
Advisor
Other Contributor(s)
Citation
7th International Conference on Knowledge and Smart Technology (KST 2015), 7-12
Degree name
Degree level
Degree discipline
Degree department
Degree grantor
Abstract
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.