首页> 外文会议>International Conference on Computer Communication and Networks >A Model Based on Program Slice and Deep Learning for Software Defect Prediction
【24h】

A Model Based on Program Slice and Deep Learning for Software Defect Prediction

机译:基于程序切片和深度学习的软件缺陷预测模型

获取原文

摘要

Defects are inherent in software and can lead to many serious problems during the use of software. Software defect prediction is an important method for finding defects and can help developers improve their testing efficiency. To build accurate prediction models, previous software defect prediction techniques focus on design of functions related to the code of potential defects. But these methods do not adequately capture the semantic features of the program. In this paper, we propose a software defect prediction model based on program slice and deep learning. We extract program slice based on system dependence graph and leverage Gated Recurrent Unit (GRU) to generate features. We conducted experiments both within-project defect prediction and cross-project defect prediction using the dataset of the public PROMISE database. The results show that our method improves on average by 11.0% in F1-measure in within-project and 10.4% in F1-measure in cross-project defect prediction compared to the Tree-LSTM method.
机译:缺陷是软件固有的,在使用软件时可能导致许多严重的问题。软件缺陷预测是发现缺陷的重要方法,可以帮助开发人员提高测试效率。为了建立准确的预测模型,以前的软件缺陷预测技术集中在与潜在缺陷代码相关的功能设计上。但是这些方法不能充分捕捉程序的语义特征。本文提出了一种基于程序切片和深度学习的软件缺陷预测模型。我们基于系统依赖图提取程序切片,并利用门控循环单元(GRU)生成特征。我们使用公共P​​ROMISE数据库的数据集进行了项目内缺陷预测和跨项目缺陷预测的实验。结果表明,与Tree-LSTM方法相比,我们的方法在项目内F1度量平均提高了11.0%,在跨项目缺陷预测中F1度量提高了10.4%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号