loading...
The Effectiveness of Refactoring, Based on a Compatibility Testing Taxonomy and a Dependency Graph
Windsor, United Kingdom August 29-August 31
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TAIC-PART.2006.33Testing: Academic & Industrial Confer ...
 This Article 
 
PDF
HTML
 
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
S. Counsell, Brunel University, UK
R. M. Hierons, Brunel University, UK
R. Najjar, School of Computer Science and Information Systems, Birbeck, UK
G. Loizou, School of Computer Science and Information Systems, Birbeck, UK
Y. Hassoun, Imperial College, UK
In this paper, we describe and then appraise a testing taxonomy proposed by van Deursen and Moonen (VD&M) [9] based on the post-refactoring repeatability of tests. Four categories of refactoring are identified by VD&M ranging from semanticpreserving to incompatible, where, for the former, no new tests are required and for the latter, a completely new test set has to be developed. In our appraisal of the taxonomy, we heavily stress the need for the inter-dependence of the refactoring categories to be considered when making refactoring decisions and we base that need on a refactoring dependency graph developed as part of the research. We demonstrate that while incompatible refactorings may be harmful and time-consuming from a testing perspective, semantic-preserving refactorings can have equally unpleasant hidden ramifications despite their advantages. In fact, refactorings which fall into neither category have the most interesting properties. We support our results with empirical refactoring data drawn from seven Java Open-Source Systems (OSS) and from the same analysis form a tentative categorization of code smells.
Citation:
S. Counsell, R. M. Hierons, R. Najjar, G. Loizou, Y. Hassoun, "The Effectiveness of Refactoring, Based on a Compatibility Testing Taxonomy and a Dependency Graph," taic-part, pp.181-192, Testing: Academic & Industrial Conference - Practice And Research Techniques (TAIC PART'06), 2006
Usage of this product signifies your acceptance of the Terms of Use.