arrow
返回

Change distilling:: Tree differencing for fine-grained source code change extraction

delete2007-11-01
delete434
PRE
AI
B
Beat Fluri *
M
Michael Würsch
M
Martin Pinzger
H
Harald C. Gall
DOI:10.1109/TSE.2007.70731delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
A key issue in software evolution analysis is the identification of particular changes that occur across several versions of a program. We present change distilling, a tree differencing algorithm for fine- grained source code change extraction. For that, we have improved the existing algorithm by Chawathe et al. for extracting changes in hierarchically structured data [ 8]. Our algorithm extracts changes by finding both a match between the nodes of the compared two abstract syntax trees and a minimum edit script that can transform one tree into the other given the computed matching. As a result, we can identify fine- grained change types between program versions according to our taxonomy of source code changes. We evaluated our change distilling algorithm with a benchmark that we developed, which consists of 1,064 manually classified changes in 219 revisions of eight methods from three different open source projects. We achieved significant improvements in extracting types of source code changes: Our algorithm approximates the minimum edit script 45 percent better than the original change extraction approach by Chawathe et al. We are able to find all occurring changes and almost reach the minimum conforming edit script, that is, we reach a mean absolute percentage error of 34 percent, compared to the 79 percent reached by the original algorithm. The paper describes both our change distilling algorithm and the results of our evaluation.
Keyword:
source code change extraction
tree-differencing algorithms
software repositories
software evolution analysis
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

暂无机构信息
引用论文

引用论文

Mining version histories to guide software changes
err2005-06-01
err469
PREAI
errZimmermann, T; Weissgerber, P; Diehl, S; Zeller, A
err分享
err收藏
Apoptosis-Associated Proteolysis of Vimentin in Human Prostate Epithelial Tumor Cells
err1998-08-01
err0
errOAAI
errSarada C. Prasad; Peter J. Thraves; Michael R. Kuettel; Geetha Y. Srinivasarao; Anatoly Dritschilo; Viatcheslav A. Soldatenkov
err分享
err收藏
学者 查看更多内容