Abstract: In order to improve the accuracy of the static programslicing which is used to locate the faults that cause an exception,we propose a new algorithm which isstored when an exception occurred. The proposed approachconsists of various steps and figure out those methods and statements thathave not been executed. Then, these methods which are notexecuted will be ignored when building the system dependencegraph. Finally, the accurate slice will be got by adopting theimproved program slicing algorithm. And the result shows that using our approachthe slice is 8 percent less than using the general static programslicing algorithm on average.One approach to improve the comprehension ofprograms is to reduce the amount of data to be observedand inspected. Programmers tend to focus andcomprehended selected functions (outputs) and those partsof a program that are directly related to that particularfunction rather than all possible program functions. Oneapproach is to utilize program slicing, a program decomposition technique that transforms a large programinto a smaller one that contains only statements relevantto the computation of a selected function.
Keywords: Program slicing, Static slicing, Static slicing algorithm
[1] Tao Wang and Abhik Roy Choudhury,‖ Dynamic Slicing on Java Bytecode Traces‖,Singapore International Conference on Software Engineering (ICSE), 2004
[2] Hiralalagarwal,richard a. demillo and eugene h. spafford,‖ Debugging with Dynamic Slicing andBacktracking‖, Software— Practice And Experience, Vol. 23, no. 6, pp. 589–616, JUNE 1993
[3] SwarnenduBiswas and Rajib Mall, ―Regression Test Selection Techniques: A Survey‖, Information and Software Technology, Vol. 52, no. 1, January 2010
[4] Jaiprakash T Lalchandani, R Mall, ‖Regression TestingBased-on Slicing of Component-based SoftwareArchitectures‖, ISEC ,vol. 79, no. 06, pp. 19-22, 2008
[5] Rajiv Gupta, Mary Jean Harrold, Mary Lou Soffa, ―AnApproach to Regression Testing using Slicing‖, ACMTransactions on Programming Languages and Systems,vol. 12, no. 1, pp. 26-60, January 1990
[6] Yogesh Singh, ArvinderKaur and BhartiSuri, ―A Hybrid Approach for Regression Testingin Interprocedural Program‖, Journal of Information Processing Systems, Vol.6, No.1, March 2010
[7] Hongchang Zhang, Shujuan Jiang, Rong Jin, ―An Improved Static Program Slicing Algorithm Using Stack Trace‖,IEEE,2011
[8] N.Sasirekha, A.Edwin Robert, Dr.M.Hemalatha,―Program slicing techniques and its applications‖,International Journal of Software Engineering &Applications (IJSEA), Vol. 2, No. 3, pp.85-92, July 2011
[9] MithunAcharya, Brian Robinson, ―Practical ChangeImpact Analysis Based on Static Program Slicing forIndustrial Software Systems‖, ICSE, vol. 11, pp. 21–28,may 2011
[10] BaowenXu, JuQian, Xiaofang Zhang, Zhongqiang, WuLin Chen,‖ A Brief Survey Of Program Slicing‖, ACMSIGSOFT Software Engineering, Vol. 30, no. 2, pp. 1-36, March 2005