Dex: a semantic-graph differencing tool for studying changes in large code bases
S. Raghavan, R. Rohana, D. Leon et al. · Proceedings/Proceedings - Conference on Software Maintenance · 2004
This paper describes an automated tool called Dex (difference extractor) for analyzing syntactic and semantic changes in large C-language code bases. It is applied to patches obtained from a source code repository, each of which comprises the code changes made to accomplish a particular task. Dex produces summary statistics characterizing these changes for all of the patches that are analyzed. Dex applies a graph differencing algorithm to abstract semantic graphs (ASGs) representing each version. The differences are then analyzed to identify higher-level program changes. We describe the design of Dex, its potential applications, and the results of applying it to analyze bug fixes from the Apache and GCC projects. The results include detailed information about the nature and frequency of missing condition defects in these projects.
Cited by 102 works. doi:10.1109/icsm.2004.1357803
Authors
References
- Orthogonal defect classification-a concept for in-process measurements
- Identifying similar code with program dependence graphs
- Meaningful change detection in structured data
- A state-of-the-art survey on software merging
- Identifying syntactic differences between two programs
- Identifying the semantic and textual differences between two versions of a program
- On the editing distance between unordered labeled trees
- BMAT - A Binary Matching Tool for Stale Profile Propagation
- Semantic Diff: a tool for summarizing the effects of modifications
- Approximate tree pattern matching