Exploiting Defect Prediction for Automatic Software Repair (Fixie)
Exploiting Defect Prediction for Automatic Software Repair (Fixie)
批准号:
EP/S005730/1
负责人:
Tracy Hall
金额:
$46.79万
依托单位:
依托单位国家:
英国
项目类别:
Research Grant
财政年份:
2018
资助国家:
英国
项目状态:
已结题
起止时间:
2018 至 --
中文摘要
软件现在是我们在世界上所做的几乎所有事情的核心。这个软件很大程度上仍然是手工制作的,因此,很容易出现缺陷。测试只检测软件缺陷的一个子集,其余的则处于休眠状态,有时长达数年。当这些缺陷在软件系统中出现时,其安全和业务后果可能是严重的。媒体经常报道软件故障及其破坏性后果。多年来,发现和修复缺陷一直是一个不容妥协的问题。解决这个问题的传统方法依赖于在测试期间发现缺陷,然后开发人员在测试后手动修复这些缺陷。在这个项目中,我们建立了一种在测试前自动修复软件代码中预测缺陷的新技术。我们使用基于机器学习的缺陷预测信息来使用遗传改进生成自动修复。我们的方法旨在为开发人员提供有效的修复被预测为有缺陷的代码。我们的方法提供给开发人员的修复的更高比例应该是可接受的,比以前尝试的自动修复更快地生成,并且在开发周期的早期可用。重要的是,我们的方法针对更广泛的缺陷池,因为它特别包括针对那些未被测试识别的休眠缺陷。使用我们的方法,开发人员将始终保持对生成的代码的控制。修复是建议的,开发人员是“看门人”,决定建议的修复是被接受、拒绝,还是可以自己修改以改进代码。项目的有形输出之一将是缺陷修复工具(Fixie),它将为开发人员的日常编码活动提供支持。该工具将与几个工业伙伴合作开发,并将在整个项目中进行经验评估。
英文摘要
Software is now at the heart of almost everything we do in the world. This software remains largely handmade, and as such, is prone to defects. Testing detects only a sub-set of software defects with the rest laying dormant, sometimes for years. When these defects emerge in software systems the safety and business consequences can be severe. Software failures and their damaging consequences are regularly reported in the press. Finding and fixing defects has been an intransigent problem over many years. The traditional approach to this problem relies on finding defects during testing then developers manually fixing those defects afterwards.In this project we establish a new technique to automatically fix predicted defects in software code before testing. We use machine learning-based defect prediction information to generate automatic fixes using Genetic Improvement. Our approach aims to offer developers effective fixes to code which is predicted as defective. A higher proportion of the fixes our approach offers to developers should be acceptable, generated quicker and available earlier in the development cycle than previous attempts at automated repair. Importantly, our approach targets a wider pool of defects as it specifically includes targeting those dormant defects which are not identified by testing. Using our approach the developer will always remain in control of the code produced. Fixes are suggested, and the developer is the 'gate-keeper', deciding if a suggested fix is accepted, rejected, or can itself be modified to improve the code. One of the tangible outputs of the project will be a defect fixing tool (Fixie), which will provide support to developers in their daily coding activities. The tool will be developed in collaboration with several industrial partners and will be empirically evaluated throughout the project.
期刊论文(10)
专著(0)
科研奖励(0)
会议论文
登录
查看更多内容
DOI:
10.1016/j.infsof.2023.107187
发表时间:
2023-02
期刊:
Inf. Softw. Technol.
影响因子:
--
作者:
[Marco Ortu;Giuseppe Destefanis;T. Hall;David Bowes]
通讯作者:
Marco Ortu;Giuseppe Destefanis;T. Hall;David Bowes
How Software Developers Mitigate Their Errors When Developing Code
软件开发人员在开发代码时如何减少错误
DOI:
10.1109/tse.2020.3040554
发表时间:
2022
期刊:
IEEE Transactions on Software Engineering
影响因子:
7.4
作者:
[Nagaria B]
通讯作者:
Nagaria B
An 80-20 Analysis of Buggy and Non-buggy Refactorings in Open-Source Commits
对开源提交中的错误和无错误重构的 80-20 分析
DOI:
10.1109/seaa56994.2022.00038
发表时间:
2022
期刊:
影响因子:
--
作者:
[Counsell S]
通讯作者:
Counsell S
Reducing Software Developer Human Errors by Improving Situation Awareness
通过提高态势感知来减少软件开发人员的人为错误
DOI:
10.1109/ms.2020.3014223
发表时间:
2020
期刊:
IEEE Software
影响因子:
3.3
作者:
[Nagaria B]
通讯作者:
Nagaria B
On The Introduction of Automatic Program Repair in Bloomberg
浅谈Bloomberg自动程序修复功能的介绍
DOI:
10.1109/ms.2021.3071086
发表时间:
2021
期刊:
IEEE Software
影响因子:
3.3
作者:
[Kirbas S]
通讯作者:
Kirbas S
共 9 条
USING FAULT CHARACTERISTICS TO IMPROVE SOFTWARE FAULT PREDICTION
-
批准号:EP/L011751/1
-
项目类别:Research Grant
-
资助金额:$50.24万
-
财政年份:2014
-
负责人:Tracy Hall
-
依托单位:
Using Program Slicing to Size Code Change
-
批准号:EP/F010206/1
-
项目类别:Research Grant
-
资助金额:$10.04万
-
财政年份:2008
-
负责人:Tracy Hall
-
依托单位:
Investigating code fault proneness using program slicing
-
批准号:EP/E063039/1
-
项目类别:Research Grant
-
资助金额:$9.52万
-
财政年份:2008
-
负责人:Tracy Hall
-
依托单位:
Modelling Motivation in Software Engineering: A Feasibility Study
-
批准号:EP/D057272/1
-
项目类别:Research Grant
-
资助金额:$6.65万
-
财政年份:2006
-
负责人:Tracy Hall
-
依托单位:
海外基金