DocumentCode :
3642348
Title :
When Does My Program Fail?
Author :
Jeremias Rößler;Alessandro Orso;Andreas Zeller
Author_Institution :
Dept. of Comput. Sci., Saarland Univ., Saarbrucken, Germany
fYear :
2011
fDate :
3/1/2011 12:00:00 AM
Firstpage :
328
Lastpage :
333
Abstract :
Oops! My program fails. Which are the circumstances under which this failure occurs? Answering this question is one of the first steps in debugging -- and a crucial one, as it helps characterizing, understanding, and classifying the problem. In this paper, we propose a technique to identify failure circumstances automatically. Given a concrete failure, we first compute the path condition leading to the failure and then use a constraint solver to identify, from the constraints in the path condition, the general failure conditions: "The program fails whenever the credit card number begins with 6, 5, and a non-zero digit." A preliminary evaluation of the approach on real programs demonstrates its potential usefulness.
Keywords :
"Credit cards","Debugging","Classification algorithms","Concrete","Java","Prototypes","Terminology"
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation Workshops (ICSTW), 2011 IEEE Fourth International Conference on
Print_ISBN :
978-1-4577-0019-4
Type :
conf
DOI :
10.1109/ICSTW.2011.29
Filename :
5954430
Link To Document :
بازگشت