Next Article in Journal
Big Data Analysis for Personalized Health Activities: Machine Learning Processing for Automatic Keyword Extraction Approach
Next Article in Special Issue
Enhancing Data Transfer Performance Utilizing a DTN between Cloud Service Providers
Previous Article in Journal
An Extended Step-Wise Weight Assessment Ratio Analysis with Symmetric Interval Type-2 Fuzzy Sets for Determining the Subjective Weights of Criteria in Multi-Criteria Decision-Making Problems
Previous Article in Special Issue
Multimedia System for Real-Time Photorealistic Nonground Modeling of 3D Dynamic Environment for Remote Control System
Article Menu
Issue 4 (April) cover image

Export Article

Open AccessFeature PaperArticle
Symmetry 2018, 10(4), 92; https://doi.org/10.3390/sym10040092

Applying Genetic Programming with Similar Bug Fix Information to Automatic Fault Repair

1
Department of Computer Science, University of Seoul, Seoul 02504, Korea
2
Department of Electrical and Computer Engineering, Ajou University, Suwon 16499, Korea
*
Author to whom correspondence should be addressed.
Received: 19 February 2018 / Revised: 25 March 2018 / Accepted: 28 March 2018 / Published: 2 April 2018
(This article belongs to the Special Issue Advanced in Artificial Intelligence and Cloud Computing)
Full-Text   |   PDF [8032 KB, uploaded 3 May 2018]   |  

Abstract

Owing to the high complexity of recent software products, developers cannot avoid major/minor mistakes, and software bugs are generated during the software development process. When developers manually modify a program source code using bug descriptions to fix bugs, their daily workloads and costs increase. Therefore, we need a way to reduce their workloads and costs. In this paper, we propose a novel automatic fault repair method by using similar bug fix information based on genetic programming (GP). First, we searched for similar buggy source codes related to the new given buggy code, and then we searched for a fixed the buggy code related to the most similar source code. Next, we transformed the fixed code into abstract syntax trees for applying GP and generated the candidate program patches. In this step, we verified the candidate patches by using a fitness function based on given test cases to determine whether the patch was valid or not. Finally, we produced program patches to fix the new given buggy code. View Full-Text
Keywords: automatic fault repair; genetic programming; bug fix information; software maintenance automatic fault repair; genetic programming; bug fix information; software maintenance
Figures

Figure 1

This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).
SciFeed

Share & Cite This Article

MDPI and ACS Style

Yang, G.; Jeong, Y.; Min, K.; Lee, J.-W.; Lee, B. Applying Genetic Programming with Similar Bug Fix Information to Automatic Fault Repair. Symmetry 2018, 10, 92.

Show more citation formats Show less citations formats

Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.

Related Articles

Article Metrics

Article Access Statistics

1

Comments

[Return to top]
Symmetry EISSN 2073-8994 Published by MDPI AG, Basel, Switzerland RSS E-Mail Table of Contents Alert
Back to Top