Understanding source code evolution using abstract syntax tree matching
Title | Understanding source code evolution using abstract syntax tree matching |
Publication Type | Conference Papers |
Year of Publication | 2005 |
Authors | Neamtiu I, Foster JS, Hicks MW |
Conference Name | Proceedings of the 2005 international workshop on Mining software repositories |
Date Published | 2005/// |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 1-59593-123-6 |
Keywords | abstract syntax trees, software evolution, source code analysis |
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. |
URL | http://doi.acm.org/10.1145/1082983.1083143(link is external) |
DOI | 10.1145/1082983.1083143(link is external) |