Local versus Global Models for Just-In-Time Software Defect Prediction
Joint Authors
Fan, Guisheng
Chen, Liqiong
Yang, Xingguang
Shi, Kai
Yu, Huiqun
Source
Issue
Vol. 2019, Issue 2019 (31 Dec. 2019), pp.1-13, 13 p.
Publisher
Hindawi Publishing Corporation
Publication Date
2019-06-12
Country of Publication
Egypt
No. of Pages
13
Main Subjects
Abstract EN
Just-in-time software defect prediction (JIT-SDP) is an active topic in software defect prediction, which aims to identify defect-inducing changes.
Recently, some studies have found that the variability of defect data sets can affect the performance of defect predictors.
By using local models, it can help improve the performance of prediction models.
However, previous studies have focused on module-level defect prediction.
Whether local models are still valid in the context of JIT-SDP is an important issue.
To this end, we compare the performance of local and global models through a large-scale empirical study based on six open-source projects with 227417 changes.
The experiment considers three evaluation scenarios of cross-validation, cross-project-validation, and timewise-cross-validation.
To build local models, the experiment uses the k-medoids to divide the training set into several homogeneous regions.
In addition, logistic regression and effort-aware linear regression (EALR) are used to build classification models and effort-aware prediction models, respectively.
The empirical results show that local models perform worse than global models in the classification performance.
However, local models have significantly better effort-aware prediction performance than global models in the cross-validation and cross-project-validation scenarios.
Particularly, when the number of clusters k is set to 2, local models can obtain optimal effort-aware prediction performance.
Therefore, local models are promising for effort-aware JIT-SDP.
American Psychological Association (APA)
Yang, Xingguang& Yu, Huiqun& Fan, Guisheng& Shi, Kai& Chen, Liqiong. 2019. Local versus Global Models for Just-In-Time Software Defect Prediction. Scientific Programming،Vol. 2019, no. 2019, pp.1-13.
https://search.emarefa.net/detail/BIM-1210725
Modern Language Association (MLA)
Yang, Xingguang…[et al.]. Local versus Global Models for Just-In-Time Software Defect Prediction. Scientific Programming No. 2019 (2019), pp.1-13.
https://search.emarefa.net/detail/BIM-1210725
American Medical Association (AMA)
Yang, Xingguang& Yu, Huiqun& Fan, Guisheng& Shi, Kai& Chen, Liqiong. Local versus Global Models for Just-In-Time Software Defect Prediction. Scientific Programming. 2019. Vol. 2019, no. 2019, pp.1-13.
https://search.emarefa.net/detail/BIM-1210725
Data Type
Journal Articles
Language
English
Notes
Includes bibliographical references
Record ID
BIM-1210725