首页> 外文会议>International Conference on Open Source Systems and Technologies >Predicting bug inducing source code change patterns
【24h】

Predicting bug inducing source code change patterns

机译:预测引起错误的源代码更改模式

获取原文

摘要

A change in source code without the prior analysis of its impact may generate one or more defects. Fixing of such defects consumes maintenance time which ultimately increases the cost of software maintenance. Therefore, in the recent years, several research works have been done to develop techniques for the automatic impact analysis of changes in source code. In this paper, we propose to use Frequent Pattern Mining (FPM) technique of machine learning for the automatic impact analysis of those changes in source code which may induce bugs. Therefore, to find patterns associated with some specific types of software changes, we applied FPM's algorithms' Apriori and Predictive Apriori on the stored data of software changes of the following three Open-Source Software (OSS) projects: Mozilla, GNOME, and Eclipse. We grouped the data of software changes into two major categories: changes to meet bug fixing requirements and changes to meet requirements other than bug fixing. In the case of bug fixing requirements, we predict source files which are frequently changed together to fix any one of the following four types of bugs related to: memory (MEMORY), variables locking (LOCK), system (SYSTEM) and graphical user interface (UI). Our experimental results predict several interesting software change patterns which may induce bugs. The obtained bug inducing patterns have high confidence and accuracy value i.e., more than 90%.
机译:未经事先对其影响进行分析的源代码更改可能会产生一个或多个缺陷。修复此类缺陷会消耗维护时间,最终会增加软件维护成本。因此,近年来,已经进行了一些研究工作来开发用于对源代码的变化进行自动影响分析的技术。在本文中,我们建议使用机器学习的频繁模式挖掘(FPM)技术对可能引起错误的源代码更改进行自动影响分析。因此,为了找到与某些特定类型的软件更改相关的模式,我们将FPM的算法的Apriori和Predictive Apriori应用于以下三个开源软件(OSS)项目的软件更改的存储数据:Mozilla,GNOME和Eclipse。我们将软件变更的数据分为两大类:满足漏洞修复要求的变更和满足漏洞修复以外的要求的变更。在错误修复要求的情况下,我们预测源文件会经常更改,以修复与以下四种类型的错误有关的任何一种:内存(MEMORY),变量锁定(LOCK),系统(SYSTEM)和图形用户界面(UI)。我们的实验结果预测了可能引起错误的几种有趣的软件更改模式。所获得的缺陷诱发模式具有高置信度和准确度值,即大于90%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号