arrow
返回

Just-In-Time Defect Prediction on JavaScript Projects: A Replication Study

delete2022-08-22
delete19
delete
OA
AI
C
Chao Ni
X
Xin Xia *
D
David Lo
X
Xiaohu Yang
A
Ahmed E. Hassan
DOI:10.1145/3508479delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Change-level defect prediction is widely referred to as just-in-time (JIT) defect prediction since it identifies a defect-inducing change at the check-in time, and researchers have proposed many approaches based on the language-independent change-level features. These approaches can be divided into two types: supervised approaches and unsupervised approaches, and their effectiveness has been verified on Java or C++ projects. However, whether the language-independent change-level features can effectively identify the defects of JavaScript projects is still unknown. Additionally, many researches have confirmed that supervised approaches outperform unsupervised approaches on Java or C++ projects when considering inspection effort. However, whether supervised JIT defect prediction approaches can still perform best on JavaScript projects is still unknown. Lastly, prior proposed change-level features are programming languageindependent, whether programming language-specific change-level features can further improve the performance of JIT approaches on identifying defect-prone changes is also unknown. To address the aforementioned gap in knowledge, in this article, we collect and label the top-20 most starred JavaScript projects on GitHub. JavaScript is an extremely popular and widely used programming language in the industry. We propose five JavaScript-specific change-level features and conduct a large-scale empirical study (i.e., involving a total of 176,902 changes) and find that (1) supervised JIT defect prediction approaches (i.e., CBS+) still statistically significantly outperform unsupervised approaches on JavaScript projects when considering inspection effort; (2) JavaScript-specific change-level features can further improve the performance of approach built with language-independent features on identifying defect-prone changes; (3) the change-level features in the dimension of size (i.e., LT), diffusion (i.e., NF), and JavaScript-specific (i.e., SO and TC) are the most important features for indicating the defect-proneness of a change on JavaScript projects; and (4) project-related features (i.e., Stars, Branches, Def Ratio, Changes, Files, Defective, and Forks) have a high association with the probability of a change to be a defect-prone one on JavaScript projects.
Keyword:
Defect prediction
just-in-time defect prediction
empirical study
JavaScript

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

H
huawei technologies
学者数:
3.3K
论文数: 2.9K
被引数: 1
Q
queens university - canada
学者数:
1.8W
论文数: 1.7W
被引数: 29
S
Singapore Management University
学者数:
1.5K
论文数: 2.5K
被引数: 3.5K
Z
zhejiang university
学者数:
17.7W
论文数: 12.1W
被引数: 152
学者 查看更多机构
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏
Complete definite positive spasm on acetylcholine spasm provocation tests: comparison of clinical positive spasm
err2014-11-04
err0
PREAI
errShozo Sueda; Toru Miyoshi; Yasuhiro Sasaki; Kousei Ohshima; Tomoki Sakaue; Hirokazu Habara; Hiroaki Kohno
err分享
err收藏
Ionic Liquids with Solvatochromatic and Charge-Transfer Functionalities Incorporating the Viologen Moiety
err2013-01-01
err0
PREAI
errH. Q. Nimal Gunaratne; Peter Nockemann; Sonia Olejarz; Stephanie M. Reid; Kenneth R. Seddon; Geetha Srinivasan
err分享
err收藏
Crosstalk Between Autophagy and Apoptosis in RAW 264.7 Macrophages Infected With Ectromelia Orthopoxvirus感染正痘病毒的原始264.7巨噬细胞中自噬与凋亡之间的串扰
err2013-10-01
err0
errOAAI
errLech Martyniszyn; Lidia Szulc-Dąbrowska; Anna Boratyńska-Jasińska; Justyna Struzik; Anna Winnicka; Marek Niemiałtowski
err分享
err收藏
err分享
err收藏
学者 查看更多内容