Understanding source code evolution using abstract syntax tree matching
The DOI matches its Crossref record; 5 of the 5 references it cites were found in a registry or an index.
Abstract
Mining software repositories at the source code level can provide a greater understanding of how software evolves. We present a tool for quickly comparing the source code of different versions of a C program. The approach is based on partial abstract syntax tree matching, and can track simple changes to global variables, types and functions. These changes can characterize aspects of software evolution useful for answering higher level questions. In particular, we consider how they could be used to inform the design of a dynamic software updating system. We report results based on measurements of various versions of popular open source programs. including BIND, OpenSSH, Apache, Vsftpd and the Linux kernel.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
CIL: Intermediate Language and Tools for Analysis and Transformation of C Programs
Necula, G. C., McPeak, S., Rahul, S. P., & Weimer, W. (2002) · Lecture Notes in Computer Science · doi:10.1007/3-540-45937-5_16 · Cited by 977
Stevens, W. P., Myers, G. J., & Constantine, L. L. (1979) · Cited by 609
Identifying syntactic differences between two programs
Yang, W. (1991) · Software: Practice and Experience · doi:10.1002/spe.4380210706 · Cited by 346
Identifying the semantic and textual differences between two versions of a program
Horwitz, S. (1990) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/93542.93574 · Cited by 195 · cited 1×
“Horwitz [1] proposed a system for finding semantic, rather than syntactic, changes in programs.”
BackgroundSemantic Diff: a tool for summarizing the effects of modifications
Jackson, & Ladd (1994) · Proceedings International Conference on Software Maintenance ICSM-94 · doi:10.1109/icsm.1994.336770 · Cited by 185 · cited 1×
“Jackson and Ladd [2] propose a differencing tool that analyzes two versions of a procedure to identify changes in dependencies between formals, locals, and globals.”
Cited by
Kagdi, H., Collard, M. L., & Maletic, J. I. (2007) · Journal of Software Maintenance and Evolution: Research and Practice · doi:10.1002/smr.344 · Cited by 413
Differential symbolic execution
Person, S., Dwyer, M. B., Elbaum, S., & Pǎsǎreanu, C. S. (2008) · Proceedings of the 16th ACM SIGSOFT International Symposium on Foundations of software engineering · doi:10.1145/1453101.1453131 · Cited by 268
FixMiner: Mining relevant fix patterns for automated program repair
Koyuncu, A., Liu, K., Bissyandé, T. F., Kim, D., Klein, J., Monperrus, M., & Le Traon, Y. (2020) · Empirical Software Engineering · doi:10.1007/s10664-019-09780-z · Cited by 188
Classifying Change Types for Qualifying Change Couplings
Fluri, B., & Gall, H. C. (2006) · 14th IEEE International Conference on Program Comprehension (ICPC'06) · doi:10.1109/icpc.2006.16 · Cited by 180
“When a renaming of a method parameter happens and the statements bound to this parameter are updated, the change on this statement must not be classified as also proposed by Neamtiu et al. in [ 17 ].”
MethodNon-essential changes in version histories
Kawrykow, D., & Robillard, M. P. (2011) · Proceedings of the 33rd International Conference on Software Engineering · doi:10.1145/1985793.1985842 · Cited by 169
“For example, similar to our work, Neamtiu et al. developed an AST-based differencing technique that compares program snapshots and detects rename refactorings and rename-induced statement updates [17].”
ResultInspect4py: a knowledge extraction framework for python code repositories
Filgueira, R., & Garijo, D. (2022) · Proceedings of the 19th International Conference on Mining Software Repositories · doi:10.1145/3524842.3528497 · Cited by 5
“2 Extracting class and function metadata Following common practices in static code analysis [10], inspect4py uses Abstract Syntax Trees (ASTs) [9] to obtain the full representation of all code in a software repository.”
MethodPeng, C., Jiang, M., Zhou, Y., & Wu, L. (2026) · Proceedings of the ACM on Software Engineering · doi:10.1145/3808141
Metadata
- Authors
- Neamtiu, I., Foster, J. S., & Hicks, M.
- Venue
- ACM SIGSOFT Software Engineering Notes
- Published
- 2005-05-17
- Volume
- 30
- Issue
- 4
- Pages
- 1-5
- ISSN
- 0163-5948 (ISSN-L)
- OpenAlex
- W2146957318
- Cited by
- 195
- References
- 5
- FWCI
- 23.21
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.