An Empirical Investigation of Code Smell 'Deception' and Research Contextualisation through Paul's Criteria
Author(s) -
Steve Counsell,
Hamza Hamza,
Robert M. Hierons
Publication year - 2010
Publication title -
journal of computing and information technology
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.169
H-Index - 27
eISSN - 1846-3908
pISSN - 1330-1136
DOI - 10.2498/cit.1001919
Subject(s) - code smell , computer science , deception , code (set theory) , taxonomy (biology) , order (exchange) , empirical research , epistemology , programming language , software , psychology , software quality , social psychology , software development , philosophy , set (abstract data type) , botany , biology , finance , economics
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 unpleasantto have around, but are deceptive in their nature and make-up. The study is thus a warning against attempting to eradicate what are seemingly easily eradicated smells — these are often the smells the developer needs to be most wary of. Finally, we incorporate the answers to six questions suggested by Paul for ‘How to write a paperproperly’ to position the paper in a reflective way
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom