Effort-aware just-in-time defect identification in practice: A case study at Alibaba

Effort-aware Just-in-Time (JIT) defect identification aims at identifying defect-introducing changes just-in-time with limited code inspection effort. Such identification has two benefits compared with traditional module-level defect identification, i.e., identifying defects in a more cost-effective...

Full description

Saved in:
Bibliographic Details
Main Authors: YAN, Meng, XIA, Xin, FAN, Yuanrui, LO, David, HASSAN, Ahmed E., ZHANG, Xindong
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2020
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/5629
https://ink.library.smu.edu.sg/context/sis_research/article/6632/viewcontent/Effort_aware_JIT_Alibaba_pv.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-6632
record_format dspace
spelling sg-smu-ink.sis_research-66322021-05-10T08:01:29Z Effort-aware just-in-time defect identification in practice: A case study at Alibaba YAN, Meng XIA, Xin FAN, Yuanrui LO, David HASSAN, Ahmed E. ZHANG, Xindong Effort-aware Just-in-Time (JIT) defect identification aims at identifying defect-introducing changes just-in-time with limited code inspection effort. Such identification has two benefits compared with traditional module-level defect identification, i.e., identifying defects in a more cost-effective and efficient manner. Recently, researchers have proposed various effort-aware JIT defect identification approaches, including supervised (e.g., CBS+, OneWay) and unsupervised approaches (e.g., LT and Code Churn). The comparison of the effectiveness between such supervised and unsupervised approaches has attracted a large amount of research interest. However, the effectiveness of the recently proposed approaches and the comparison among them have never been investigated in an industrial setting.In this paper, we investigate the effectiveness of state-of-the-art effort-aware JIT defect identification approaches in an industrial setting. To that end, we conduct a case study on 14 Alibaba projects with 196,790 changes. In our case study, we investigate three aspects: (1) The effectiveness of state-of-the-art supervised (i.e., CBS+,OneWay, EALR) and unsupervised (i.e., LT and Code Churn) effortaware JIT defect identification approaches on Alibaba projects, (2) the importance of the features used in the effort-aware JIT defect identification approach, and (3) the association between projectspecific factors and the likelihood of a defective change. Moreover, we develop a tool based on the best performing approach and investigate the tool's effectiveness in a real-life setting at Alibaba. 2020-11-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/5629 info:doi/10.1145/3368089.3417048 https://ink.library.smu.edu.sg/context/sis_research/article/6632/viewcontent/Effort_aware_JIT_Alibaba_pv.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Just-in-time defect identification industrial study effort-aware Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Just-in-time defect identification
industrial study
effort-aware
Software Engineering
spellingShingle Just-in-time defect identification
industrial study
effort-aware
Software Engineering
YAN, Meng
XIA, Xin
FAN, Yuanrui
LO, David
HASSAN, Ahmed E.
ZHANG, Xindong
Effort-aware just-in-time defect identification in practice: A case study at Alibaba
description Effort-aware Just-in-Time (JIT) defect identification aims at identifying defect-introducing changes just-in-time with limited code inspection effort. Such identification has two benefits compared with traditional module-level defect identification, i.e., identifying defects in a more cost-effective and efficient manner. Recently, researchers have proposed various effort-aware JIT defect identification approaches, including supervised (e.g., CBS+, OneWay) and unsupervised approaches (e.g., LT and Code Churn). The comparison of the effectiveness between such supervised and unsupervised approaches has attracted a large amount of research interest. However, the effectiveness of the recently proposed approaches and the comparison among them have never been investigated in an industrial setting.In this paper, we investigate the effectiveness of state-of-the-art effort-aware JIT defect identification approaches in an industrial setting. To that end, we conduct a case study on 14 Alibaba projects with 196,790 changes. In our case study, we investigate three aspects: (1) The effectiveness of state-of-the-art supervised (i.e., CBS+,OneWay, EALR) and unsupervised (i.e., LT and Code Churn) effortaware JIT defect identification approaches on Alibaba projects, (2) the importance of the features used in the effort-aware JIT defect identification approach, and (3) the association between projectspecific factors and the likelihood of a defective change. Moreover, we develop a tool based on the best performing approach and investigate the tool's effectiveness in a real-life setting at Alibaba.
format text
author YAN, Meng
XIA, Xin
FAN, Yuanrui
LO, David
HASSAN, Ahmed E.
ZHANG, Xindong
author_facet YAN, Meng
XIA, Xin
FAN, Yuanrui
LO, David
HASSAN, Ahmed E.
ZHANG, Xindong
author_sort YAN, Meng
title Effort-aware just-in-time defect identification in practice: A case study at Alibaba
title_short Effort-aware just-in-time defect identification in practice: A case study at Alibaba
title_full Effort-aware just-in-time defect identification in practice: A case study at Alibaba
title_fullStr Effort-aware just-in-time defect identification in practice: A case study at Alibaba
title_full_unstemmed Effort-aware just-in-time defect identification in practice: A case study at Alibaba
title_sort effort-aware just-in-time defect identification in practice: a case study at alibaba
publisher Institutional Knowledge at Singapore Management University
publishDate 2020
url https://ink.library.smu.edu.sg/sis_research/5629
https://ink.library.smu.edu.sg/context/sis_research/article/6632/viewcontent/Effort_aware_JIT_Alibaba_pv.pdf
_version_ 1770575535639887872