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
相关论文
共 50 条
  • [31] Defect Prediction Technology of Aerospace Software Based on Deep Neural Network and Process Measurement
    Yao, Tianwen
    Zhang, Ben
    Peng, Jun
    Han, Zhiqiang
    Yang, Zhaobing
    Zhang, Zhi
    Zhang, Bo
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2022, 2022
  • [32] Software Defect Prediction: A Comparison Between Artificial Neural Network and Support Vector Machine
    Arora, Ishani
    Saha, Anju
    ADVANCED COMPUTING AND COMMUNICATION TECHNOLOGIES, 2018, 562 : 51 - 61
  • [33] Early software reliability prediction: An approach based on fuzzy neural network
    Liu, B.
    Liu, M.Y.
    Ruan, L.
    Beijing Hangkong Hangtian Daxue Xuebao/Journal of Beijing University of Aeronautics and Astronautics, 2001, 27 (02): : 237 - 240
  • [34] Software Defect Prediction using Hybrid Approach
    Thant, Myo Wai
    Aung, Nyein Thwet Thwet
    2019 INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION TECHNOLOGIES (ICAIT), 2019, : 262 - 267
  • [35] Software Defect Prediction Based Ensemble Approach
    Harikiran J.
    Chandana B.S.
    Srinivasarao B.
    Raviteja B.
    Reddy T.S.
    Computer Systems Science and Engineering, 2023, 45 (03): : 2313 - 2331
  • [36] Defect Prediction in Software Repositories with Artificial Neural Networks
    Bautista, Ana M.
    San Feliu, Tomas
    TRENDS AND APPLICATIONS IN SOFTWARE ENGINEERING, 2016, 405 : 165 - 174
  • [37] RETRACTED: Defect Prediction Technology in Software Engineering Based on Convolutional Neural Network (Retracted Article)
    Liu, Can
    Sanober, Sumaya
    Zamani, Abu Sarwar
    Parvathy, L. Rama
    Neware, Rahul
    Rahmani, Abdul Wahab
    SECURITY AND COMMUNICATION NETWORKS, 2022, 2022
  • [38] Software Defect Prediction Harnessing on Multi 1-Dimensional Convolutional Neural Network Structure
    Zain, Zuhaira Muhammad
    Sakri, Sapiah
    Ismail, Nurul Halimatul Asmak
    Parizi, Reza M.
    CMC-COMPUTERS MATERIALS & CONTINUA, 2022, 71 (01): : 1521 - 1546
  • [39] Defect prediction in software using spiderhunt-based deep convolutional neural network classifier
    Prashanthi M.
    Miryala C.M.
    International Journal of Networking and Virtual Organisations, 2022, 27 (04) : 337 - 357
  • [40] Neural network based approach for time to crash prediction to cope with software aging
    Yakhchi, Moona
    Alonso, Javier
    Fazeli, Mahdi
    Bitaraf, Amir Akhavan
    Patooghy, Ahmad
    JOURNAL OF SYSTEMS ENGINEERING AND ELECTRONICS, 2015, 26 (02) : 407 - 414