作者
Yingfei Xiong, Jie Wang, Runfa Yan, Jiachen Zhang, Shi Han, Gang Huang, Lu Zhang
发表日期
2017/5/20
研讨会论文
2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE)
页码范围
416-426
出版商
IEEE
简介
Due to the difficulty of repairing defect, many research efforts have been devoted into automatic defect repair. Given a buggy program that fails some test cases, a typical automatic repair technique tries to modify the program to make all tests pass. However, since the test suites in real world projects are usually insufficient, aiming at passing the test suites often leads to incorrect patches. This problem is known as weak test suites or overfitting. In this paper we aim to produce precise patches, that is, any patch we produce has a relatively high probability to be correct. More concretely, we focus on condition synthesis, which was shown to be able to repair more than half of the defects in existing approaches. Our key insight is threefold. First, it is important to know what variables in a local context should be used in an "if" condition, and we propose a sorting method based on the dependency relations between variables …
引用总数
201720182019202020212022202320241546524453524137
学术搜索中的文章
Y Xiong, J Wang, R Yan, J Zhang, S Han, G Huang… - 2017 IEEE/ACM 39th International Conference on …, 2017