DocumentCode
1879203
Title
Feature envy factor: A metric for automatic feature envy detection
Author
Nongpong, Kwankamol
Author_Institution
Dept. of Comput. Sci., Assumption Univ., Bangkok, Thailand
fYear
2015
fDate
28-31 Jan. 2015
Firstpage
7
Lastpage
12
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.
Keywords
object-oriented programming; software maintenance; software quality; automatic feature envy detection; design flaw detection; external behavior; feature envy code smell detection; feature envy factor; internal quality; move method refactorings; object-oriented systems; software system; Complexity theory; Couplings; Feature extraction; Measurement; Software quality; Software systems; Tires; code smells; design flaws; feature envy; refactoring; software metric; software quality;
fLanguage
English
Publisher
ieee
Conference_Titel
Knowledge and Smart Technology (KST), 2015 7th International Conference on
Conference_Location
Chonburi
Print_ISBN
978-1-4799-6048-4
Type
conf
DOI
10.1109/KST.2015.7051460
Filename
7051460
Link To Document