Understanding source code evolution using abstract syntax tree matching

TitleUnderstanding source code evolution using abstract syntax tree matching
Publication TypeConference Paper
Year of Publication2005
AuthorsNeamtiu, I, Foster, JS, Hicks, M
Secondary TitleProceedings of the 2005 international workshop on Mining software repositories
Pagination2-6
PublisherACM
Place PublishedNew York, NY, USA
ISBN Number1-59593-123-6
Keywordsabstract syntax trees, apache, bind, evolution, linux, openssh, software evolution, source code, source code analysis, vsftpd
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.

URLhttp://doi.acm.org/10.1145/1082983.1083143
DOI10.1145/1082983.1083143
Full Text
AttachmentSize
PDF icon 2Understanding.pdf274.57 KB