Mining version histories to guide software changes

被引:279
作者
Zimmermann, T [1 ]
Weissgerber, P [1 ]
Diehl, S [1 ]
Zeller, A [1 ]
机构
[1] Univ Saarland, D-6600 Saarbrucken, Germany
来源
ICSE 2004: 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS | 2004年
关键词
D O I
10.1109/ICSE.2004.1317478
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We apply data mining to version histories in order to guide programmers along related changes: "Programmers who changed these functions also changed...". Given a set of existing changes, such rules (a) suggest and predict likely further changes, (b) show up item coupling that is indetectable by program analysis, and (c) prevent errors due to incomplete changes. After an initial change, our ROSE prototype can correctly predict 26% of further files to be changed-and 15% of the precise functions or variables. The topmost three suggestions contain a correct location with a likelihood of 64%.
引用
收藏
页码:563 / 572
页数:10
相关论文
共 28 条
[1]  
Agrawal R, 1994, P 20 INT C VER LARG, V1215, P487
[2]  
ATKINS DL, 1998, LNCS, V1439, P146
[3]  
Ball T., 1997, ICSE WORKSH PROC MOD
[4]  
Bieman JM, 2003, PROG COMPREHEN, P44
[5]   CVSSearch: Searching through source code using CVS comments [J].
Chen, A ;
Chou, E ;
Wong, J ;
Yao, AY ;
Zhang, Q ;
Zhang, S ;
Michail, AR .
IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS: SYSTEMS AND SOFTWARE EVOLUTION IN THE ERA OF THE INTERNET, 2001, :364-373
[6]   Hipikat: Recommending pertinent software development artifacts [J].
Cubranic, D ;
Murphy, GC .
25TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2003, :408-418
[7]  
FOGEL K, 2002, CVS2CLPL CVS LOG MES
[8]  
Gall H, 2003, SIXTH INTERNATIONAL WORKSHOP ON PRINCIPLES OF SOFTWARE EVOLUTION, PROCEEDINGS, P13
[9]   Software evolution observations based on product release history [J].
Gall, H ;
Jazayeri, M ;
Klosch, RR ;
Trausmuth, G .
INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1997, :160-166
[10]   Detection of logical coupling based on product release history [J].
Gall, H ;
Hajek, K ;
Jazayeri, M .
INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1998, :190-198