An Approach to Analyzing Inter-Class Data Dependence of programs with Exception Propagation
Yuan Gua · Microcomputer Information · 2010
The data dependency information of inter-class is the foundation of inter-class dataflow testing.This paper proposes an approach to analyzing inter-class data dependence of C ++ programs that contain Exception Propagation by studying the effects of the Exception Propagation on the dependency in the cluster-level testing of object-oriented programs.According to the classes relationships such as inheritance,aggregation and association,we incrementally construct a inter-class data dependency graph and an efficient algorithm is also presented.Finally,we apply the data dependence analysis to program slicing.The results show that it bring about the improvement of the slice accuracy through the analysis the influence of exception propagation.