2025 Volume 145 Issue 9 Pages 851-852
In software development, debugging requires a lot of human resources. A breakthrough in the research of automatic bug fixing was made by GenProg, which uses genetic programming for fixing bugs. This study proposes automatic bug fixing by optimization methods that are computationally less expensive than genetic programming. As the evaluation experiments, buggy programs to find leap years was fixed with PSO and random. As a result, it was confirmed that PSO can modify the program faster than random.
The transactions of the Institute of Electrical Engineers of Japan.C
The Journal of the Institute of Electrical Engineers of Japan