{"title":"Within-Project Defect Prediction Using Improved CNN Model via Extracting the Source Code Features","authors":"Alaa T. Elbosaty, W. Abdelmoez, Essam Elfakharany","doi":"10.1109/ACIT57182.2022.9994220","DOIUrl":null,"url":null,"abstract":"Errors in software systems are inevitable. However, fixing bugs requires cost and time. If they are detected early, this problem is solved with Artificial Intelligence in Software Engineering (AISE). Therefore, software error prediction is used to discover software errors in the source code and to take into account the testing effort in the development phase. The first of the three phases presented in this work is the re-implementation of the Congs model [12] on Colab. compared the result of the original Congs model to the newly implemented model result when we found that the Congs model under Colab approximates the original results using the Simplified PROMISE Source Code (SPSC) dataset. The second is to extract deep features from source codes or ASTs as model input and proposed deep models (CNN). Third, an improved CNN model for within-project defect prediction (WPDP) by hyperparameter tuning was proposed and our results are compared to current CNN results. Our improved CNN model outperforms the improved F -measure by 29% and achieves a 93% F1-measure in our CNN model.","PeriodicalId":256713,"journal":{"name":"2022 International Arab Conference on Information Technology (ACIT)","volume":"33 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Arab Conference on Information Technology (ACIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ACIT57182.2022.9994220","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Errors in software systems are inevitable. However, fixing bugs requires cost and time. If they are detected early, this problem is solved with Artificial Intelligence in Software Engineering (AISE). Therefore, software error prediction is used to discover software errors in the source code and to take into account the testing effort in the development phase. The first of the three phases presented in this work is the re-implementation of the Congs model [12] on Colab. compared the result of the original Congs model to the newly implemented model result when we found that the Congs model under Colab approximates the original results using the Simplified PROMISE Source Code (SPSC) dataset. The second is to extract deep features from source codes or ASTs as model input and proposed deep models (CNN). Third, an improved CNN model for within-project defect prediction (WPDP) by hyperparameter tuning was proposed and our results are compared to current CNN results. Our improved CNN model outperforms the improved F -measure by 29% and achieves a 93% F1-measure in our CNN model.