A cognitive and neural network approach for software defect prediction

被引:0
作者
Rajnish, Kumar [1 ]
Bhattacharjee, Vandana [1 ]
机构
[1] Birla Inst Technol, Dept CSE, Ranchi 835215, Bihar, India
关键词
Machine learning; software defect prediction; CNN model; cognitive weight; basic control structures; neural network; FAULT PREDICTION; SYSTEMS;
D O I
10.3233/JIFS-220497
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Software defect prediction is used to assist developers in finding potential defects and allocating their testing efforts as the scale of software grows. Traditional software defect prediction methods primarily concentrate on creating static code metrics that are fed into machine learning classifiers to predict defects in the code. To achieve the desired classifier performance, appropriate design decisions are required for deep neural network (DNN) and convolutional neural network (CNN) models. This is especially important when predicting software module fault proneness. When correctly identified, this could help to reduce testing costs by concentrating efforts on the modules that have been identified as fault prone. This paper proposes a CONVSDP and DNNSDP (cognitive and neural network) approach for predicting software defects. Python Programming Language with Keras and TensorFlow was used as the framework. From three NASA system datasets (CM1, KC3, and PC1) selected from PROMISE repository, a comparative analysis with machine learning algorithms (such as Random Forest (RF), Decision Trees (DT), Nave Bayes (NF), and Support Vector Machine (SVM) in terms of F-Measure (known as F1-score), Recall, Precision, Accuracy, Receiver Operating Characteristics (ROC) and Area Under Curve (AUC) has been presented. We extract four dataset attributes from the original datasets and use them to estimate the development effort, development time, and number of errors. The number of operands, operators, branch count, and executable LOCs are among these attributes. Furthermore, a new parameter called cognitive weight (Wc) of Basic Control Structure (BCS) is proposed to make the proposed cognitive technique more effective, and a cognitive data set of 8 features for NASA system datasets (CM1, KC3, and PC1) selected from the PROMISE repository to predict software defects is created. The experimental results showed that the CONVSDP and DNNSDP models was comparable to existing classifiers in both original datasets and cognitive data sets, and that it outperformed them in most of the experiments.
引用
收藏
页码:6477 / 6503
页数:27
相关论文
共 44 条
  • [1] Abdel-Hamid O, 2012, INT CONF ACOUST SPEE, P4277, DOI 10.1109/ICASSP.2012.6288864
  • [2] Bug Localization with Combination of Deep Learning and Information Retrieval
    An Ngoc Lam
    Anh Tuan Nguyen
    Hoan Anh Nguyen
    Nguyen, Tien N.
    [J]. 2017 IEEE/ACM 25TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2017, : 218 - 229
  • [3] Bandara Upul, 2013, Neural Information Processing. 20th International Conference, ICONIP 2013. Proceedings: LNCS 8227, P368, DOI 10.1007/978-3-642-42042-9_46
  • [4] Corley CS, 2015, PROC IEEE INT CONF S, P556, DOI 10.1109/ICSM.2015.7332513
  • [5] Toward Comprehensible Software Fault Prediction Models Using Bayesian Network Classifiers
    Dejaeger, Karel
    Verbraken, Thomas
    Baesens, Bart
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2013, 39 (02) : 237 - 257
  • [6] Empirical comparison of three metrics suites for fault prediction in packages of object-oriented systems: A case study of Eclipse
    Elish, Mahmoud O.
    Al-Yafei, Ali H.
    Al-Mulhem, Muhammed
    [J]. ADVANCES IN ENGINEERING SOFTWARE, 2011, 42 (10) : 852 - 859
  • [7] Goodfellow I, 2016, ADAPT COMPUT MACH LE, P1
  • [8] Semantically Enhanced Software Traceability Using Deep Learning Techniques
    Guo, Jin
    Cheng, Jinghui
    Cleland-Huang, Jane
    [J]. 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2017, : 3 - 14
  • [9] Editorial: Anthropogenic impacts on symbiotic systems
    Gupta, Manju M.
    Richardson, David H. S.
    [J]. SYMBIOSIS, 2021, 84 (03) : 229 - 232
  • [10] Halstead M., 1977, ELEMENTS SOFTWARE SC, DOI DOI 10.5555/540137