Lune

ICSE2023顶会

Predicting Bugs by Monitoring Developers During Task Execution

Gennaro Laudato, Simone Scalabrino, Nicole Novielli, Filippo Lanubile, Rocco Oliveto

摘要

Knowing which parts of the source code will be defective can allow practitioners to better allocate testing resources. For this reason, many approaches have been proposed to achieve this goal. Most state-of-the-art predictive models rely on product and process metrics, i.e., they predict the defectiveness of a component by considering what developers did. However, there is still limited evidence of the benefits that can be achieved in this context by monitoring how developers complete a development task. In this paper, we present an empirical study in which we aim at understanding whether measuring human aspects on developers while they write code can help predict the introduction of defects. First, we introduce a new developer-based model which relies on behavioral, psychophysical, and control factors that can be measured during the execution of development tasks. Then, we run a controlled experiment involving 20 software developers to understand if our developer-based model is able to predict the introduction of bugs. Our results show that a developer-based model is able to achieve a similar accuracy compared to a state-of-the-art code-based model, i.e., a model that uses only features measured from the source code. We also observed that by combining the models it is possible to obtain the best results (84% accuracy).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper2

  1. Recognizing developers' emotions while programmingDaniela Girardi, Nicole Novielli, Davide Fucci, Filippo LanubileICSE 2020 · 60 次引用
  2. Supporting Software Developers' Focused Work on Window-Based DesktopsJan Pilzer, Raphael Rosenast, André N. Meyer, Elaine M. Huang 等CHI 2020 · 8 次引用

相关 Paper

  1. NeuroJIT: Improving Just-In-Time Defect Prediction Using Neurophysiological and Empirical Perceptions of Modern DevelopersGichan Lee, Hansae Ju, Scott Uk-Jin LeeASE 2024
  2. Breaking the Flow: A Study of Interruptions During Software Engineering ActivitiesYimeng Ma, Yu Huang, Kevin LeachICSE 2024 · 8 次引用
  3. Predicting developers' negative feelings about code reviewCarolyn D. Egelman, Emerson R. Murphy-Hill, Elizabeth Kammer, Margaret Morrow Hodges 等ICSE 2020 · 50 次引用
  4. The best of both worlds: integrating semantic features with expert features for defect prediction and localizationChao Ni, Wei Wang, Kaiwen Yang, Xin Xia 等FSE 2022 · 76 次引用
  5. Towards Balanced Defect Prediction with Better Information PropagationXianda Zheng, Yuan-Fang Li, Huan Gao, Yuncheng Hua 等AAAI 2021 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖