Just‐in‐time defect prediction for software hunks. (16th June 2021)
- Record Type:
- Journal Article
- Title:
- Just‐in‐time defect prediction for software hunks. (16th June 2021)
- Main Title:
- Just‐in‐time defect prediction for software hunks
- Authors:
- Zhu, Xiaoyan
Yan, Chenyu
Whitehead, E. James
Niu, Binbin
Zhu, Lei
Pan, Long - Abstract:
- Abstract: Just‐in‐time defect prediction can remind software developers and managers to verify and fix bugs at the moment they appeared, thus improving the effectiveness and validity of bug fixing. Existing studies mainly focus on just‐in‐time prediction for software files (JIT‐F). JIT‐F is a binary classification problem, which classifies (hence predicts) a file change as buggy or clean. This article provides a detailed analysis of just‐in‐time defect prediction for software hunks (JIT‐H), which predicts bugs at a finer level of granularity, and hence further improves the efficiency of bug fixing. Classification is performed using the ensemble technique of bagging—aggregated combinations of random under sampling plus multiple classifiers (J48 and Random Forest). An empirical study with 10 open source projects was conducted to validate the effectiveness of JIT‐H. Experimental results show that JIT‐H is effective at predicting defects in software hunk changes. Compared with JIT‐F, JIT‐H is more cost effective. Additionally, analysis on the change features indicates that Text Vector features and hunk change level features are of more importance than features in other groups and levels.
- Is Part Of:
- Software, practice & experience. Volume 52:Number 1(2022)
- Journal:
- Software, practice & experience
- Issue:
- Volume 52:Number 1(2022)
- Issue Display:
- Volume 52, Issue 1 (2022)
- Year:
- 2022
- Volume:
- 52
- Issue:
- 1
- Issue Sort Value:
- 2022-0052-0001-0000
- Page Start:
- 130
- Page End:
- 153
- Publication Date:
- 2021-06-16
- Subjects:
- cost effectiveness -- hunk change -- imbalanced learning -- JIT defect prediction
Computer software -- Periodicals
Computer programming -- Periodicals
Computer programs -- Periodicals
005.3 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/spe.3001 ↗
- Languages:
- English
- ISSNs:
- 0038-0644
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 8321.453000
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 19985.xml