Dynamic data flow analysis is a testing technique that has been successfully used for many procedural programming languages. However, for Object-Oriented (OO) programs, previous investigations have still followed a data-oriented approach to keep track of the state information for various data elements. This paper proposes an OO approach to perform dynamic data flow analysis for OO programs. In this approach, a meta-model of an OO program’s runtime structure is constructed to manage the data flow analysis for the program. An implementation of the model for the Java language is presented, illustrating the practicality and effectiveness of this innovative approach.
Index Terms:
Dynamic Data Flow Analysis, Meta-level Programming, Object-Oriented Programs, Program Instrumentation
Citation:
A. Cain, T. Y. Chen, D. D. Grant, F.-C. Kuo, J.-G. Schneider, "An Object Oriented Approach towards Dynamic Data Flow Analysis (Short Paper)," qsic, pp.163-168, 2008 The Eighth International Conference on Quality Software, 2008