Software defects are inevitable and expensive in modern software development. Automatic program repair is important to reduce the cost of software development and has strong potential to benefit real-world projects. Test case based program repair aims to generate code patches to fix software defects via passing all the given test cases, which are designed by developers. Based on generated patches via automatic program repair, developers can save their manual effort in fixing defects. In this proposal, we review existing work and propose to study automatic approaches to test driven program repair by summarizing a series of research questions as follows: (1) from the perspective of program language support, how to generate patches by leveraging more features of the program language; (2) from the perspective of defect scenario analysis, how to extract execution paths to repair defects, which trigger crash scenarios; (3) from the perspective of repair behavior learning, how to learn from historical repair behaviors by developers to guide new patch generation; (4) from the perspective of multi-location patch generation, how to transfer patch generation with multiple locations into the one with single locations. Based on our preliminary work in handling software defects, we systematically propose a research routine and an experimental scheme. This proposal will provide effective solutions and support real-world applications for automatic program repair.
现代软件开发中,软件缺陷不可避免且修复成本高昂。自动程序修复方法对降低软件开发成本十分重要,并且具有较强的应用前景。基于测试用例的程序修复旨在自动的生成代码补丁,以顺利执行由开发者编写的全部测试用例,进而修复软件缺陷。以自动修复方法生成的补丁为基础,开发者能够大幅度节省人工缺陷修复的开销。本课题基于对该领域相关工作的回顾,研究测试驱动的程序修复方法。该课题归纳了一系列研究问题:(1)从程序语言支持层面,如何生成补丁以支持更多的程序语言特性;(2)从缺陷场景分析层面,如何提取程序执行路径以修复造成软件崩溃的缺陷;(3)从修复行为学习层面,如何学习开发者的历史修复行为并指导新的补丁生成;(4)从多位置补丁生成层面,如何将多位置补丁生成转换为单位置补丁生成。基于软件缺陷相关的初步成果,我们提出了系统的研究路线和实验方案。本课题的实施将为自动程序修复研究提供有效的解决方案和实际应用基础。
现代软件开发中,软件缺陷不可避免且修复成本高昂。自动程序修复方法对降低软件开发成本十分重要,并且具有较强的应用前景。基于测试用例的程序修复旨在自动的生成代码补丁,以顺利执行由开发者编写的全部测试用例,进而修复软件缺陷。以自动修复方法生成的补丁为基础,开发者能够大幅度节省人工缺陷修复的开销。本课题基于对该领域相关工作的回顾,研究测试驱动的程序修复方法,包括程序语言支持、缺陷场景分析、修复行为学习、多位置补丁生成四个层面。提出了系统的研究路线、实验方案、实验数据和原型工具。本课题的实施将为自动程序修复研究提供有效的解决方案和实际应用基础。
{{i.achievement_title}}
数据更新时间:2023-05-31
一种光、电驱动的生物炭/硬脂酸复合相变材料的制备及其性能
基于二维材料的自旋-轨道矩研究进展
F_q上一类周期为2p~2的四元广义分圆序列的线性复杂度
平行图像:图像生成的一个新型理论框架
基于LBS的移动定向优惠券策略
基于蜕变测试技术的自动程序修复方法研究
基于变异的程序自动化修复方法研究
微处理器高层功能验证测试程序自动生成的理论与方法
知识驱动的自动化程序理解方法与支持系统研究