Breaking the Barriers to Successful Refactoring: Observations and Tools for Extract Method

被引:0
作者
Murphy-Hill, Emerson [1 ]
Black, Andrew P. [1 ]
机构
[1] Portland State Univ, Portland, OR 97201 USA
来源
ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING | 2008年
关键词
Refactoring; tools; usability; environments;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Refactoring is the process of changing the structure of code without changing its behavior. Refactoring can be semi-automated with tools, which should make it easier for programmers to refactor quickly and correctly. However, we have observed that many tools do a poor job of communicating errors triggered by the refactoring process and that programmers using them sometimes refactor slowly, conservatively, and incorrectly. In this paper we characterize problems with current refactoring tools, demonstrate three new tools to assist in refactoring, and report on a user study that compares these new tools against existing tools. The results of the study show that speed, accuracy, and user satisfaction can be significantly increased. From the new tools we induce a set of usability recommendations that we hope will help inspire a new generation of programmer-friendly refactoring tools.
引用
收藏
页码:421 / 430
页数:10
相关论文
共 20 条
[11]  
Murphy-Hill E., 2007, P 2007 OOPSLA WORKSH, P1
[12]  
MURPHYHILL E, 2006, COMP 21 ACM SIGPLAN, P746
[13]  
MURPHYHILL E, 2006, TR06086 PORTL STAT U
[14]  
O'Connor A., 2005, P 2005 OOPSLA WORKSH, P16
[15]  
Opdyke W. F., 1992, Refactoring object-oriented frameworks
[16]  
Roberts D., 1997, Theory and Practice of Object Systems, V3, P253, DOI 10.1002/(SICI)1096-9942(1997)3:4<253::AID-TAPO3>3.0.CO
[17]  
2-T
[18]  
ROBERTS D, 1999, THESIS U ILLINOIS UR
[19]  
*SUN MICR INC, 2005, JAV 1 4 2 STAND
[20]  
[No title captured]