A Scenario-Based Approach to Predicting Software Defects Using Compressed C4.5 Model

被引:14
|
作者
Li, Biwen [1 ]
Shen, Beijun [1 ]
Wang, Jun [1 ]
Chen, Yuting [1 ]
Zhang, Tao [2 ]
Wang, Jinshuang [2 ]
机构
[1] Shanghai Jiao Tong Univ, Sch Software, Shanghai 200030, Peoples R China
[2] PLA Univ Sci & Technol, Inst Command Informat Syst, Nanjing, Jiangsu, Peoples R China
关键词
Defect Prediction; Scenario; Software Clustering; C4.5; Model; ENSEMBLE; METRICS; FAULTS;
D O I
10.1109/COMPSAC.2014.64
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Defect prediction approaches use software metrics and fault data to learn which software properties are associated with what kinds of software faults in programs. One trend of existing techniques is to predict the software defects in a program construct (file, class, method, and so on) rather than in a specific function scenario, while the latter is important for assessing software quality and tracking the defects in software functionalities. However, it still remains a challenge in that how a functional scenario is derived and how a defect prediction technique should be applied to a scenario. In this paper, we propose a scenario-based approach to defect prediction using compressed C4.5 model. The essential idea of this approach is to use a k-medoids algorithm to cluster functions followed by deriving functional scenarios, and then to use the C4.5 model to predict the fault in the scenarios. We have also conducted an experiment to evaluate the scenario-based approach and compared it with a file-based prediction approach. The experimental results show that the scenario-based approach provides with high performance by reducing the size of the decision tree by 52.65% on average and also slightly increasing the accuracy.
引用
收藏
页码:406 / 415
页数:10
相关论文
共 50 条
  • [1] Compressed C4.5 Models for Software Defect Prediction
    Wang, Jun
    Shen, Beijun
    Chen, Yuting
    [J]. 2012 12TH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC), 2012, : 13 - 16
  • [2] SHADD: A scenario-based approach to software architectural defects detection
    Sharafi, Sayed Mehran
    [J]. ADVANCES IN ENGINEERING SOFTWARE, 2012, 45 (01) : 341 - 348
  • [3] A scenario-based approach to the evolution of telecommunications software
    Mansurov, NN
    Probert, RL
    [J]. IEEE COMMUNICATIONS MAGAZINE, 2001, 39 (10) : 94 - 100
  • [4] A scenario-based approach for assessing the modularity of software architecture
    AlSharif, M
    Bond, WP
    Al-Otaiby, T
    [J]. INNOVATIONS THROUGH INFORMATION TECHNOLOGY, VOLS 1 AND 2, 2004, : 1171 - 1174
  • [5] A Scenario-based Approach; Assuring Effect of Software Product
    Kakimoto, Kazuki
    Umeda, Hiroki
    Sogawa, Kazuhiro
    Ueda, Yasushi
    [J]. KNOWLEDGE-BASED AND INTELLIGENT INFORMATION & ENGINEERING SYSTEMS (KES-2018), 2018, 126 : 646 - 655
  • [6] C4.5 or Naive Bayes: A Discriminative Model Selection Approach
    Zhang, Lungan
    Jiang, Liangxiao
    Li, Chaoqun
    [J]. ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING - ICANN 2016, PT I, 2016, 9886 : 419 - 426
  • [7] A scenario-based distributed testing model for software applications
    Mehmood, Mirza Aamir
    Mahmood, Azhar
    Khan, Muhammad Naeem Ahmed
    Khatoon, Shaheen
    [J]. INTERNATIONAL JOURNAL OF ADVANCED AND APPLIED SCIENCES, 2016, 3 (10): : 64 - 71
  • [8] A Scenario-Based Reliability Analysis Approach for Component-Based Software
    Hou, Chunyan
    Chen, Chen
    Wang, Jinsong
    Shi, Kai
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2015, E98D (03): : 617 - 626
  • [9] A Scenario-Based Reliability Analysis approach for component-based software
    Yacoub, S
    Cukic, B
    Ammar, HH
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2004, 53 (04) : 465 - 480
  • [10] A Creative Approach to Reducing Ambiguity In Scenario-based Software Architecture Analysis
    Xi-Wen Wu
    Chen Li
    Xuan Wang
    Hong-Ji Yang
    [J]. International Journal of Automation and Computing, 2019, 16 : 248 - 260