A differencing algorithm for object-oriented programs
Taweesup Apiwattanapong, Alessandro Orso, Mary Jean Harrold · 2004
During software evolution, information about changes between different versions of a program is useful for a number of software engineering tasks. For many of these tasks, a purely syntactic differencing may not provide enough information for the task to be performed effectively. This problem is especially relevant in the case of object-oriented software, for which a syntactic change can have subtle and unforeseen effects. In this paper, we present a technique for comparing object-oriented programs that identifies both differences and correspondences between two versions of a program. The technique is based on a representation that handles object-oriented features and, thus, can capture the behavior of object-oriented programs. We also present JDIFF, a tool that implements the technique for Java programs, and empirical results that show the efficiency and effectiveness of the technique on a real program. 1.
Cited by 126 works. doi:10.1109/ase.2004.5
Authors
References
- The program dependence graph and its use in optimization
- AnO(ND) difference algorithm and its variations
- A safe, efficient regression test selection technique
- Identifying the Semantic and Textual Differences Between Two Versions of a Program
- A state-of-the-art survey on software merging
- Identifying the semantic and textual differences between two versions of a program
- Regression test selection for Java software
- BMAT - A Binary Matching Tool for Stale Profile Propagation
- Identification of program modifications and its applications in software maintenance
- Leveraging field data for impact analysis and regression testing