Chianti: A tool for change impact analysis of Java']Java programs

被引:206
作者
Ren, XX
Shah, F
Tip, F
Ryder, BG
Chesley, O
机构
[1] Rutgers State Univ, Div Comp & Informat Sci, Piscataway, NJ 08854 USA
[2] IBM Software Grp, Hawthorne, NY 10532 USA
[3] IBM Corp, Thomas J Watson Res Ctr, Yorktown Hts, NY 10598 USA
关键词
algorithms; measurement; languages; reliability; change impact analysis; regression test; unit test; analysis of object-oriented programs;
D O I
10.1145/1035292.1029012
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper reports on the design and implementation of Chianti, a change impact analysis tool for Java that is implemented in the context of the Eclipse environment. Chianti analyzes two versions of an application and decomposes their difference into a set of atomic changes. Change impact is then reported in terms of affected (regression or unit) tests whose execution behaviour may have been modified by the applied changes. For each affected test, Chianti also determines a set of affecting changes that were responsible for the test's modified behaviour. This latter step of isolating the changes that induce the failure of one specific test from those changes that only affect other tests can be used as a debugging technique in situations where a test fails unexpectedly after a long editing session. We evaluated Chianti on a year (2002) of CVS data from M. Ernst's Daikon system, and found that, on average, 52% of Daikon's unit tests are affected. Furthermore, each affected unit test, on average, is affected by only 3.95% of the atomic changes. These findings suggest that our change impact analysis is a promising technique for assisting developers with program understanding and debugging.
引用
收藏
页码:432 / 448
页数:17
相关论文
共 28 条
[11]  
HARROLD MJ, 2001, P ACM C OBJ OR PROGR, P312
[12]  
KUNG D, 1994, INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, P202, DOI 10.1109/ICSM.1994.336774
[13]  
LARUS J, 1999, P SIGPLAN PLDI 99 AT, P1
[14]   Whole program path-based dynamic impact analysis [J].
Law, J ;
Rothermel, G .
25TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2003, :308-318
[15]  
MILANOVA A, 2004, J AUTOMATED SOFTWARE
[16]   An empirical comparison of dynamic impact analysis algorithms [J].
Orso, A ;
Apiwattanapong, T ;
Law, J ;
Rothermel, G ;
Harrold, MJ .
ICSE 2004: 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2004, :491-500
[17]  
ORSO A, 2004, P 12 ACM SIGSOFT S F
[18]  
ORSO A, 2003, P EUR SOFTW ENG C AC
[19]  
REN X, 2003, DCSTR533 RUTG U DEP
[20]  
Rothermel G., 1997, ACM Transactions on Software Engineering and Methodology, V6, P173, DOI 10.1145/248233.248262