Code Naturalness to Assist Search Space Exploration in Search-Based Program Repair Methods

5Citations
Citations of this article
10Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Automated Program Repair (APR) is a research field that has recently gained attention due to its advances in proposing methods to fix buggy programs without human intervention. Search-Based Program Repair methods have difficulties to traverse the search space, mainly, because it is challenging and costly to evaluate each variant. Therefore, aiming to improve each program’s variant evaluation through providing more information to the fitness function, we propose the combination of two techniques, Doc2vec and LSTM, to capture high-level differences among variants and to capture the dependence between source code statements in the fault localization region. The experiments performed with the IntroClass benchmark show that our approach captures differences between variants according to the level of changes they received, and the resulting information is useful to balance the search between the exploration and exploitation steps. Besides, the proposal might be promising to filter program variants that are adequate to the suspicious portion of the code.

Cite

CITATION STYLE

APA

Dantas, A., de Souza, E. F., Souza, J., & Camilo-Junior, C. G. (2019). Code Naturalness to Assist Search Space Exploration in Search-Based Program Repair Methods. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 11664 LNCS, pp. 164–170). Springer Verlag. https://doi.org/10.1007/978-3-030-27455-9_12

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free