Exploring Design smells for smell-based defect prediction. (October 2022)
- Record Type:
- Journal Article
- Title:
- Exploring Design smells for smell-based defect prediction. (October 2022)
- Main Title:
- Exploring Design smells for smell-based defect prediction
- Authors:
- Sotto-Mayor, Bruno
Elmishali, Amir
Kalech, Meir
Abreu, Rui - Abstract:
- Abstract: Defect prediction is commonly used to reduce the effort from the testing phase of software development. A promising strategy is to use machine learning techniques to predict which software components may be defective. Features are key factors to the prediction's success, and thus extracting significant features can improve the model's accuracy. In particular, code smells are a category of those features that have been shown to improve the prediction performance significantly. However, Design code smells, a state-of-the-art collection of code smells based on the violations of the object-oriented programming principles, have not been studied in the context of defect prediction. In this paper, we study the performance of defect prediction models by training multiple classifiers for 97 real projects. We compare using Design code smells as features and using other Traditional smells from the literature and both. Moreover, we cluster and analyze the models' performance based on the categories of Design code smells. We conclude that the models trained with both the Design code smells and the smells from the literature performed the best, with an improvement of 4.1% for the AUC score, compared to models trained with only Traditional smells. Consequently, Design smells are a good addition to the smells commonly studied in the literature for defect prediction.
- Is Part Of:
- Engineering applications of artificial intelligence. Volume 115(2022)
- Journal:
- Engineering applications of artificial intelligence
- Issue:
- Volume 115(2022)
- Issue Display:
- Volume 115, Issue 2022 (2022)
- Year:
- 2022
- Volume:
- 115
- Issue:
- 2022
- Issue Sort Value:
- 2022-0115-2022-0000
- Page Start:
- Page End:
- Publication Date:
- 2022-10
- Subjects:
- Defect prediction -- Code smell -- Mining software repositories -- Software quality -- Software engineering
Engineering -- Data processing -- Periodicals
Artificial intelligence -- Periodicals
Expert systems (Computer science) -- Periodicals
Ingénierie -- Informatique -- Périodiques
Intelligence artificielle -- Périodiques
Systèmes experts (Informatique) -- Périodiques
Artificial intelligence
Engineering -- Data processing
Expert systems (Computer science)
Periodicals
620.00285 - Journal URLs:
- http://www.sciencedirect.com/science/journal/09521976 ↗
http://www.elsevier.com/journals ↗ - DOI:
- 10.1016/j.engappai.2022.105240 ↗
- Languages:
- English
- ISSNs:
- 0952-1976
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 3755.704500
British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 23385.xml