Periodic Developer Metrics in Software Defect Prediction

被引:10
|
作者
Kini, Seldag Ozcan [1 ]
Tosun, Ayse [1 ]
机构
[1] Istanbul Tech Univ, Fac Comp & Informat Engn, Istanbul, Turkey
关键词
software defect prediction; periodic developer experience; code ownership; churn metrics;
D O I
10.1109/SCAM.2018.00016
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Defect prediction studies have proposed several data-driven approaches, and recently, this field has put more emphasis on whether the people factor is associated software defects. Developer metrics can capture experience, code ownership, coding skills and techniques, and commit activities. These metrics have so far been measured at a specified snapshot of the codebase although developer's knowledge on a source module could change over time. In this paper, we propose to measure periodic developer experience with regard to contextual knowledge on files and directories. We extract periodic experience metrics capturing the previous activities of developers on source files and investigate the explanatory effect of these metrics on defects. We also use activity-based (churn) metrics to observe the performance of both metric types on defect prediction. We used two large-scale open source projects, Lucene and Jackrabbit, for model evaluation. We calculate periodic developer experience metrics and churn metrics at two granularity levels: file level and commit level. We build the models using five popular machine learning algorithms in defect prediction literature. The models with the two best performing algorithms are assessed in terms of Precision, Recall, False Positive Rate, and F-measure. The set of metrics that explains software defects the best is also identified using correlation-based feature selection method. Results show that periodic developer experience metrics extracted at file level are good merits for defect prediction, accompanied with churn. When there is not enough data to extract the contextual knowledge of developers on source files, churn metrics play an important role on defect prediction.
引用
收藏
页码:72 / 81
页数:10
相关论文
共 50 条
  • [1] Developer Micro Interaction Metrics for Software Defect Prediction
    Lee, Taek
    Nam, Jaechang
    Han, Donggyun
    Kim, Sunghun
    In, Hoh Peter
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (11) : 1015 - 1035
  • [2] Software Defect Prediction Using Software Metrics - A survey
    Punitha, K.
    Chitra, S.
    [J]. 2013 INTERNATIONAL CONFERENCE ON INFORMATION COMMUNICATION AND EMBEDDED SYSTEMS (ICICES), 2013, : 555 - 558
  • [3] The limited impact of individual developer data on software defect prediction
    Robert M. Bell
    Thomas J. Ostrand
    Elaine J. Weyuker
    [J]. Empirical Software Engineering, 2013, 18 : 478 - 505
  • [4] A Study on the Significance of Software Metrics in Defect Prediction
    Xia, Ye
    Yan, Guoying
    Si, Qianran
    [J]. 2013 SIXTH INTERNATIONAL SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE AND DESIGN (ISCID), VOL 2, 2013, : 343 - 346
  • [5] The limited impact of individual developer data on software defect prediction
    Bell, Robert M.
    Ostrand, Thomas J.
    Weyuker, Elaine J.
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2013, 18 (03) : 478 - 505
  • [6] The Stability of Threshold Values for Software Metrics in Software Defect Prediction
    Mausa, Goran
    Grbac, Tihana Galinac
    [J]. MODEL AND DATA ENGINEERING (MEDI 2017), 2017, 10563 : 81 - 95
  • [7] Effective Estimation of Modules' Metrics in Software Defect Prediction
    Fakhrahmad, S. M.
    Sami, A.
    [J]. WORLD CONGRESS ON ENGINEERING 2009, VOLS I AND II, 2009, : 206 - 211
  • [8] A New Metrics Selection Method for Software Defect Prediction
    Xia, Ye
    Yan, Guoying
    Jiang, Xingwei
    Yang, Yanyan
    [J]. PROCEEDINGS OF 2014 IEEE INTERNATIONAL CONFERENCE ON PROGRESS IN INFORMATICS AND COMPUTING (PIC), 2014, : 433 - 436
  • [9] Improving Software Defect Prediction by Aggregated Change Metrics
    Sikic, Lucija
    Afric, Petar
    Kurdija, Adrian Satja
    Silic, Marin
    [J]. IEEE ACCESS, 2021, 9 : 19391 - 19411
  • [10] An Effective Rank Approach to Software Defect Prediction Using Software Metrics
    Lakshmi, P.
    Maheswari, Latha T.
    [J]. PROCEEDINGS OF THE 10TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS AND CONTROL (ISCO'16), 2016,