DocumentCode :
526164
Title :
The ‘deception’ of code smells: An empirical investigation
Author :
Counsell, S. ; Hamza, H. ; Hierons, R.M.
Author_Institution :
Sch. of Inf. Syst., Comput. & Math., Brunel Univ., Uxbridge, UK
fYear :
2010
fDate :
21-24 June 2010
Firstpage :
683
Lastpage :
688
Abstract :
Code smells represent code decay and as such should be eradicated from a system to prevent future maintenance problems. A range of twenty smells described by Fowler and Beck each require varying numbers and combinations of refactorings in order to be eradicated - but exactly how many are needed when we consider related, nested refactorings is unclear. In this paper, we enumerate these refactorings when categorised according to Mantyla´s smell taxonomy. We then show how, ironically, the `smelliest´ of smells (and hence most difficult to eradicate) are actually those best understood by developers. So, code smells are not only unpleasant to have around but are deceptive in their nature and make-up. The study is thus a warning against attempting what are seemingly easily eradicated smells - these are often the smells the developer needs to be most wary of.
Keywords :
chemioception; codes; collections of physical data; testing; Mantyla smell taxonomy; code decay; code smell; deception; maintenance problem; testing; Couplers; Couplings; Data mining; Feature extraction; Surgery; Switches; Taxonomy; Code smell; OO; Refactoring;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Information Technology Interfaces (ITI), 2010 32nd International Conference on
Conference_Location :
Cavtat/Dubrovnik
ISSN :
1330-1012
Print_ISBN :
978-1-4244-5732-8
Type :
conf
Filename :
5546498
Link To Document :
بازگشت