DocumentCode
2722855
Title
Detecting Code Smells in Software Product Lines -- An Exploratory Study
Author
Abilio, Ramon ; Padilha, Juliana ; Figueiredo, Eduardo ; Costa, Heitor
Author_Institution
IT Dept., Fed. Univ. of Lavras, Lavras, Brazil
fYear
2015
fDate
13-15 April 2015
Firstpage
433
Lastpage
438
Abstract
Code smells are symptoms that something is wrong in the source code. They have been catalogued and investigated in several programming techniques. These techniques can be used to develop Software Product Lines (SPL). However, feature-oriented programming (FOP) is a specific technique to deal with the modularization of features in SPL. One of the most popular FOP languages is AHEAD and, as far as we are concerned, we still lack systematic studies on the categorization and detection of code smells in AHEADFOP languages-based SPL. To fill this gap, this paper extends the definitions of three traditional code smells, namely God Method, God Class, and Shotgun Surgery, to take into account FOP abstractions. We then proposed 8 new FOP measures to quantify specific characteristics of compositional approaches like AHEAD. Finally, we combine the proposed and existing measures to define 3 detection strategies for identifying the investigated code smells. To evaluate the detection strategies, we performed an exploratory study involving 26 participants. The study participants rely on metrics to identify code smells in 8 AHEAD systems. Our results show that the proposed detection strategies can be used as code smell predictor since statistical tests indicate agreement among them and the study participants.
Keywords
object-oriented programming; program compilers; software product lines; source code (software); AHEADFOP languages; SPL; code smell detection; feature oriented programming; programming techniques; software product lines; source code; Atmospheric measurements; Inspection; Particle measurements; Programming; Software; Surgery; Code Smells; Detection Strategies; Software Product Lines;
fLanguage
English
Publisher
ieee
Conference_Titel
Information Technology - New Generations (ITNG), 2015 12th International Conference on
Conference_Location
Las Vegas, NV
Print_ISBN
978-1-4799-8827-3
Type
conf
DOI
10.1109/ITNG.2015.76
Filename
7113511
Link To Document