DocumentCode
2516417
Title
The Effectiveness of Refactoring, Based on a Compatibility Testing Taxonomy and a Dependency Graph
Author
Counsell, S. ; Hierons, R.M. ; Najjar, R. ; Loizou, G. ; Hassoun, Y.
Author_Institution
Sch. of Inf. Syst., Comput. & Math., Brunel Univ., Uxbridge
fYear
2006
fDate
29-31 Aug. 2006
Firstpage
181
Lastpage
192
Abstract
In this paper, we describe and then appraise a testing taxonomy proposed by van Deursen and Moonen (VD&M) based on the post-refactoring repeatability of tests. Four categories of refactoring are identified by VD&M ranging from semantic-preserving 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
Keywords
Java; graph theory; software maintenance; Java open-source systems; compatibility testing taxonomy; dependency graph; post-refactoring repeatability; semantic-preserving refactorings; Appraisal; Computer science; Educational institutions; Information systems; Java; Mathematics; Open source software; Software maintenance; Taxonomy; Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Testing: Academic and Industrial Conference - Practice And Research Techniques, 2006. TAIC PART 2006. Proceedings
Conference_Location
Windsor
Print_ISBN
0-7695-2672-1
Type
conf
DOI
10.1109/TAIC-PART.2006.33
Filename
1691685
Link To Document