Abstract
Automatic program repair (APR) techniques focus on automatically repairing bugs in programs and providing correct patches for developers, which have been investigated for decades. However, most studies have limitations in repairing complex bugs. To overcome these limitations, we developed an approach that augments datasets by utilizing token tagging and applying machine learning techniques for APR. First, to alleviate the data insufficiency problem, we augmented datasets by extracting all the methods (buggy and non-buggy methods) in the program source code and conducting token tagging on non-buggy methods. Second, we fed the preprocessed code into the model as an input for training. Finally, we evaluated the performance of the proposed approach by comparing it with the baselines. The results show that the proposed approach is efficient for augmenting datasets using token tagging and is promising for APR.
Original language | English |
---|---|
Pages (from-to) | 628-636 |
Number of pages | 9 |
Journal | Journal of Information Processing Systems |
Volume | 18 |
Issue number | 5 |
DOIs | |
State | Published - Oct 2022 |
Keywords
- Augment dataset
- Automatic program repair
- Machine learning
- Token tagging