Exploring the relationship of a file's history and its fault-proneness: An empirical method and its application to open source programs

被引:28
|
作者
Illes-Seifert, Timea [1 ]
Paech, Barbara [1 ]
机构
[1] Heidelberg Univ, Inst Comp Sci, D-69120 Heidelberg, Germany
关键词
Empirical study; Software testing; Software history/evolution; SOFTWARE;
D O I
10.1016/j.infsof.2009.11.010
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context The knowledge about particular characteristics of software that are indicators for defects is very valuable for testers because it helps them to focus the testing effort and to allocate their limited resources appropriately. Objective In this paper, we explore the relationship between several historical characteristics of files and their defect count. Method For this purpose, we propose an empirical approach that uses statistical procedures and visual representations of the data in order to determine indicators for a file's defect count We apply this approach to nine open source Java projects across different versions. Results Only 4 of 9 programs show moderate correlations between a file's defects in previous and in current releases in more than half of the analysed releases In contrast to our expectations, the oldest files represent the most fault-prone files. Additionally, late changes correlate with a file's defect count only partly The number of changes, the number of distinct authors performing changes to a file as well as the file's age are good indicators for a file's defect count in all projects. Conclusion: Our results show that a software's history is a good indicator for 1st quality We did not find one indicator that persists across all projects in an equal manner Nevertheless, there are several indicators that show significant strong correlations in nearly all projects DA (number of distinct authors) and FC (frequency of change). In practice, for each software, statistical analyses have to be performed in order to evaluate the best indicator(s) for a file's defect count (C) 2009 Elsevier B V All rights reserved
引用
收藏
页码:539 / 558
页数:20
相关论文
共 48 条
  • [21] Research on multi-source sparse optimization method and its application on gearbox compound fault detection
    Lu, Yan
    Du, Juan
    Tong, Xiaochun
    Zhang, Wei
    ENGINEERING SCIENCE AND TECHNOLOGY-AN INTERNATIONAL JOURNAL-JESTECH, 2024, 57
  • [22] Trapezoid graph method for fault diagnosis based on Petri net and its application to missile's fault diagnosis
    Hu, C.H.
    Wang, Q.
    Chen, X.H.
    Yuhang Xuebao/Journal of Astronautics, 2001, 22 (01):
  • [23] An adaptive sensitive frequency band selection method for empirical wavelet transform and its application in bearing fault diagnosis
    Yu, Kun
    Lin, Tian Ran
    Tan, Jiwen
    Ma, Hui
    MEASUREMENT, 2019, 134 : 375 - 384
  • [24] Empirical study of abnormality in local variables and its application to fault-prone Java']Java method analysis
    Aman, Hirohisa
    Amasaki, Sousuke
    Yokogawa, Tomoyuki
    Kawahara, Minoru
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2020, 32 (04)
  • [25] An optimal selection method for morphological filter's parameters and its application in bearing fault diagnosis
    Hu, Aijun
    Xiang, Ling
    JOURNAL OF MECHANICAL SCIENCE AND TECHNOLOGY, 2016, 30 (03) : 1055 - 1063
  • [26] An optimal selection method for morphological filter’s parameters and its application in bearing fault diagnosis
    Aijun Hu
    Ling Xiang
    Journal of Mechanical Science and Technology, 2016, 30 : 1055 - 1063
  • [27] A two-step blind source extraction method and its application in fault diagnosis of rolling element bearing
    Xiao, YanQiu
    Wang, Hongchao
    JOURNAL OF MECHANICAL SCIENCE AND TECHNOLOGY, 2019, 33 (03) : 1141 - 1148
  • [28] A two-step blind source extraction method and its application in fault diagnosis of rolling element bearing
    YanQiu Xiao
    Hongchao Wang
    Journal of Mechanical Science and Technology, 2019, 33 : 1141 - 1148
  • [29] Spectral envelope-based adaptive empirical Fourier decomposition method and its application to rolling bearing fault diagnosis
    Zheng, Jinde
    Cao, Shijun
    Pan, Haiyang
    Ni, Qing
    ISA TRANSACTIONS, 2022, 129 : 476 - 492
  • [30] An Entropy-Based Metric of Developer Contribution in Open Source Development and Its Application to Fault-Prone Program Analysis
    Yamauchi K.
    Aman H.
    Amasaki S.
    Yokogawa T.
    Kawahara M.
    International Journal of Networked and Distributed Computing, 2018, 6 (3) : 118 - 132