Quality Evaluation Method of Automatic Software Repair Using Syntax Distance Metrics

1Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.

Abstract

In recent years, test-based automatic program repair has attracted widespread attention. However, the test suites in practice are not perfect ways to guarantee the correctness of patches generated by repair tools, and weak test suites lead to a large number of incorrect patches produced by the existing repair tool. To reduce the number of incorrect patches generated by repair tools, we propose a patch quality evaluation method based on syntax distance metrics, which measures the syntax distance of patches through four evaluation features—variable, expression, structure, and repair location. By fusing the distance values of the four features, the quality of a patch can be evaluated. Our method evaluates 368 patches from multiple famous repair tools, such as jKali, Nopol, SimFix, DynaMoth, and CapGen; 95% of the correct patches were ranked in the top one of the plausible patches for each defect, which indicates our method can find high-quality patches.

References Powered by Scopus

Nopol: Automatic Repair of Conditional Statement Bugs in Java Programs

305Citations
N/AReaders
Get full text

Context-aware patch generation for better automated program repair

266Citations
N/AReaders
Get full text

Automated program repair

265Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Patch Correctness Assessment: A Survey

0Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Dong, Y., Tang, D., Cheng, X., & Yang, Y. (2022). Quality Evaluation Method of Automatic Software Repair Using Syntax Distance Metrics. Symmetry, 14(8). https://doi.org/10.3390/sym14081751

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 3

100%

Readers' Discipline

Tooltip

Computer Science 3

75%

Engineering 1

25%

Save time finding and organizing research with Mendeley

Sign up for free