DocumentCode :
2729670
Title :
An improved static program slicing algorithm using stack trace
Author :
Zhang, Hongchang ; Jiang, Shujuan ; Jin, Rong
Author_Institution :
Sch. of Comput. Sci. & Technol., China Univ. of Min. & Technol., Xuzhou, China
fYear :
2011
fDate :
15-17 July 2011
Firstpage :
563
Lastpage :
567
Abstract :
In order to improve the accuracy of the static program slicing which is used to locate the faults that cause an exception, we propose a new approach that uses the stack trace which is stored when an exception occurred. The proposed approach consists of three steps. First, it uses stack trace to infer the execution trace and figure out those methods and statements that have not been ever executed. Then, these methods which are not executed will be ignored when building the system dependence graph. Finally, the accurate slice will be got by adopting the improved program slicing algorithm. We perform an empirical study of our new approach by using four reported bugs of open-source project Ant. And the result shows that using our approach the slice is 8 percent less than using the general static program slicing algorithm on average.
Keywords :
program debugging; program slicing; public domain software; Ant; improved static program slicing algorithm; open-source project; reported bugs; stack trace; system dependence graph; Accuracy; Algorithm design and analysis; Classification algorithms; Debugging; Heuristic algorithms; Java; Runtime; program slicing; runtime exceptions; stack traces;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering and Service Science (ICSESS), 2011 IEEE 2nd International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-1-4244-9699-0
Type :
conf
DOI :
10.1109/ICSESS.2011.5982378
Filename :
5982378
Link To Document :
بازگشت