DocumentCode :
2600093
Title :
Localizing SQL faults in database applications
Author :
Clark, Sarah R. ; Cobb, Jake ; Kapfhammer, Gregory M. ; Jones, James A. ; Harrold, Mary Jean
Author_Institution :
Georgia Inst. of Technol., Atlanta, GA, USA
fYear :
2011
fDate :
6-10 Nov. 2011
Firstpage :
213
Lastpage :
222
Abstract :
This paper presents a new fault-localization technique designed for applications that interact with a relational database. The technique uses dynamic information specific to the application´s database, such as Structured Query Language (SQL) commands, to provide a fault-location diagnosis. By creating statement-SQL tuples and calculating their suspiciousness, the presented method lets the developer identify the database commands and the program statements likely to cause the failures. The technique also calculates suspiciousness for statement-attribute tuples and uses this information to identify SQL fragments that are statistically likely to be responsible for the suspiciousness of that SQL command. The paper reports the results of two empirical studies. The first study compares existing and database-aware fault-localization methods, and reveals the strengths and limitations of prior techniques, while also highlighting the effectiveness of the new approach. The second study demonstrates the benefits of using database information to improve understanding and reduce manual debugging effort.
Keywords :
SQL; fault location; program debugging; relational databases; SQL fault localization; database application; database-aware fault-localization method; manual debugging; program statement; relational database; statement-SQL tuple; statement-attribute tuple; structured query language command; Instruments; Java; Marketing and sales; Measurement; Relational databases; Software;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Automated Software Engineering (ASE), 2011 26th IEEE/ACM International Conference on
Conference_Location :
Lawrence, KS
ISSN :
1938-4300
Print_ISBN :
978-1-4577-1638-6
Type :
conf
DOI :
10.1109/ASE.2011.6100056
Filename :
6100056
Link To Document :
بازگشت