Title :
Program Debugging Using Constraints -- Is it Feasible?
Author :
Wotawa, Franz ; Nica, Mihai
Author_Institution :
Inst. for Software Technol., Tech. Univ. Graz, Graz, Austria
Abstract :
Automated debugging, i.e., automated fault localization in programs, is an important and challenging problem. In literature the use of AI techniques like model-based diagnosis have been reported in order to solve the debugging problem at least partially. Most recently stating the debugging problem as a constraint satisfaction problem has been suggested including the integration of pre- and post-conditions. In this paper we follow this approach and report on most recent results obtained when using a today´s constraint solver. Moreover, we show that there is a very good correspondence between the running time required for finding bugs and the structure of the program´s constraint representation. We are able to prove this relationship with a linear correlation coefficient of 0.9. The empirical results indicate that the constraint satisfaction approach is very promising when focusing on debugging methods and functions up to 1,000 lines of code with an expected debugging time of less than 1 1/2 minute.
Keywords :
constraint theory; program debugging; program diagnostics; software fault tolerance; artificial intelligence; automated debugging; automated fault localization; constraint representation; constraint satisfaction problem; model-based diagnosis; program debugging; Computational complexity; Debugging; Indexes; Input variables; Semantics; Upper bound; automated debugging; complexity; constraints; model-based debugging;
Conference_Titel :
Quality Software (QSIC), 2011 11th International Conference on
Conference_Location :
Madrid
Print_ISBN :
978-1-4577-0754-4
Electronic_ISBN :
1550-6002
DOI :
10.1109/QSIC.2011.39