基于改进CNN模型的项目内缺陷预测

Alaa T. Elbosaty, W. Abdelmoez, Essam Elfakharany
{"title":"基于改进CNN模型的项目内缺陷预测","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":"{\"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}","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

摘要

软件系统中的错误是不可避免的。然而,修复bug需要花费成本和时间。如果它们被早期发现,这个问题就可以用软件工程中的人工智能(AISE)来解决。因此,软件错误预测用于发现源代码中的软件错误,并考虑开发阶段的测试工作。本工作中提出的三个阶段中的第一个阶段是在Colab上重新实现Congs模型[12]。当我们发现Colab下的Congs模型近似于使用简化承诺源代码(Simplified PROMISE Source Code, SPSC)数据集的原始结果时,将原始Congs模型的结果与新实现的模型结果进行了比较。二是从源代码或ast中提取深度特征作为模型输入,提出深度模型(CNN)。第三,提出了一种改进的基于超参数整定的项目内缺陷预测(WPDP) CNN模型,并与现有的CNN结果进行了比较。我们改进的CNN模型比改进的F -测度高出29%,在我们的CNN模型中实现了93%的f1测度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Within-Project Defect Prediction Using Improved CNN Model via Extracting the Source Code Features
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信