Title :
An Approach to Analyzing Inter-Class Control Dependence of Programs with Exception-Handling
Author :
Zhang, Yanmei ; Jiang, Shujuan ; Li, Wen ; Yuan, Guan
Author_Institution :
Sch. of Comput. Sci. & Technol., China Univ. of Min. & Technol., Xuzhou, China
Abstract :
The control dependency information of inter-class is the foundation of inter-class data-flow testing. This paper proposes an approach to analyzing inter-class control dependence of Java programs with exception-handling constructs by studying the effects of the exception propagation on the dependency in the cluster-level testing of object-oriented programs. According to the relationships of classes, such as inheritance, aggregation and association, we incrementally construct an inter-class control flow graph and presented an efficient algorithm. Finally we apply the analysis method to inter-class program slice. The results show that our inter-class program slice brings about the improvement of the slice accuracy through the analysis the influence of exception-handling structure.
Keywords :
Java; data flow computing; exception handling; program slicing; program testing; Java programs; cluster-level testing; exception propagation; exception-handling constructs; interclass control dependence analysis; interclass control flow graph; interclass data-flow testing; interclass program slice; object-oriented programs; Algorithm design and analysis; Clustering algorithms; Computer science; Flow graphs; Graphics; Information analysis; Java; Mathematics; Software maintenance; Testing;
Conference_Titel :
Computational Intelligence and Software Engineering, 2009. CiSE 2009. International Conference on
Conference_Location :
Wuhan
Print_ISBN :
978-1-4244-4507-3
Electronic_ISBN :
978-1-4244-4507-3
DOI :
10.1109/CISE.2009.5362699