Debugging is a laborious part of the software development process as well as of programming education. Although existing editors and IDEs support the identification of syntax errors, their functions for detecting logical errors in compilable program code are very limited. Algorithms have been developed taking either a static code analysis approach or a deep learning approach. However, although overall experimental results are positive in terms of the detection of logic errors, the results have limitations. We should take advantage of algorithm capacity as well as avoidance of mismatches caused by weakness in implementing the corresponding intelligent coding editors. In the present paper, we analyze the two different approaches through accumulated source codes for solving a programming task in an online judge system. Experimental results reveal the strengths and weaknesses of these approaches, and we conclude that these approaches are an appropriate basis for developing a hybrid algorithm to enhance the accuracy of logic error detection.
IOS Press, Inc.
6751 Tepper Drive
Clifton, VA 20124
Tel.: +1 703 830 6300
Fax: +1 703 830 2300 firstname.lastname@example.org
(Corporate matters and books only) IOS Press c/o Accucoms US, Inc.
For North America Sales and Customer Service
West Point Commons
Lansdale PA 19446
Tel.: +1 866 855 8967
Fax: +1 215 660 5042 email@example.com