Logo image
Using the Deep Learning-Based Approaches for Program Debugging and Repair
Conference paper

Using the Deep Learning-Based Approaches for Program Debugging and Repair

Tzu-Yang Lin, 慶育 黃 and Chih-Chiang Fang
The 10th IEEE International Conference on Dependable Systems and Their Applications (DSA 2023)
2023

Abstract

automatic program repair;genetic programming;deep brief network

Maintenance is the most labor-intensive stage in the Software System Development Life Cycle (SDLC). When an error is detected, an Automatic Program Repair (APR) system can locate the error by utilizing fault prediction and then employ search-based or semantic-based repair techniques to attempt to fix it. Finally, the program repair system runs test cases to verify that the errors have been properly repaired and the program's functionality has not been compromised. In this study, we present a novel approach called Deep Learning Based GenProg (DLBGP), which combines deep learning with APR. Our proposed method involves extracting node vectors from the program's Abstract Syntax Tree (AST) and identifying semantic features using a Deep Brief Network (DBN). These semantic features are then used to predict the accuracy of the repair candidates. In experiments conducted on ten subject files in the IntroClass database, our proposed DLBGP model reduced execution time by 64% compared to GenProg while achieving the same number of successful test cases. In summary, we offer a fast, efficient, and easily deployable deep learning program repair method that could prove beneficial to the field of APR.

Metrics

1 Record Views

Details

Logo image