Please use this identifier to cite or link to this item: http://bura.brunel.ac.uk/handle/2438/5639
Full metadata record
DC FieldValueLanguage
dc.contributor.authorCounsell, S-
dc.contributor.authorHierons, RM-
dc.contributor.authorHamza, H-
dc.contributor.authorBlack, S-
dc.contributor.authorDurrand, M-
dc.date.accessioned2011-07-25T10:34:33Z-
dc.date.available2011-07-25T10:34:33Z-
dc.date.issued2010-
dc.identifier.citationAdvances in Software Engineering, Artn: 820103, Dec 2010en_US
dc.identifier.issn1687-8655-
dc.identifier.urihttp://www.hindawi.com/journals/ase/2010/820103/cta/en
dc.identifier.urihttp://bura.brunel.ac.uk/handle/2438/5639-
dc.descriptionThis article has been made available through the Brunel Open Access Publishing Fund - Copyright @ 2010 Hindawi Publishing Corporationen_US
dc.description.abstractCode smells reflect code decay, and, as such, developers should seek to eradicate such smells through application of “deodorant” in the form of one or more refactorings. However, a relative lack of studies exploring code smells either theoretically or empirically when compared with literature on refactoring suggests that there are reasons why smell eradication is neither being applied in anger, nor the subject of significant research. In this paper, we present three studies as supporting evidence for this stance. The first is an analysis of a set of five, open-source Java systems in which we show very little tendency for smells to be eradicated by developers; the second is an empirical study of a subsystem of a proprietary, C# web-based application where practical problems arise in smell identification and the third, a theoretical enumeration of smell-related refactorings to suggest why smells may be left alone from an effort perspective. Key findings of the study were that first, smells requiring application of simple refactorings were eradicated in favour of smells requiring more complex refactorings; second, a wide range of conflicts and anomalies soon emerged when trying to identify smelly code; an interesting result with respect to comment lines was also observed. Finally, perceived (estimated) effort to eradicate a smell may be a key factor in explaining why smell eradication is avoided by developers. The study thus highlights the need for a clearer research strategy on the issue of code smells and all aspects of their identification and measurement.en_US
dc.description.sponsorshipThe research in this paper was supported by a grant from the UK Engineering and Physical Sciences Research Council (EPSRC) (Grant no: EP/G031126/1)en_US
dc.languageEnglish-
dc.language.isoenen_US
dc.publisherHindawi Publishing Corporationen_US
dc.titleExploring the eradication of code smells: An empirical and theoretical perspectiveen_US
dc.typeResearch Paperen_US
dc.identifier.doihttp://dx.doi.org/10.1155/2010/820103-
pubs.organisational-data/Brunel-
pubs.organisational-data/Brunel/Brunel (Active)-
pubs.organisational-data/Brunel/Brunel (Active)/School of Info. Systems, Comp & Maths-
pubs.organisational-data/Brunel/Research Centres-
pubs.organisational-data/Brunel/Research Centres/CIDA-
pubs.organisational-data/Brunel/School of Information Systems, Computing and Mathematics-
pubs.organisational-data/Brunel/School of Information Systems, Computing and Mathematics/CIDA-
Appears in Collections:Publications
Computer Science
Brunel OA Publishing Fund
Dept of Computer Science Research Papers

Files in This Item:
File Description SizeFormat 
Fulltext.pdf1.25 MBAdobe PDFView/Open


Items in BURA are protected by copyright, with all rights reserved, unless otherwise indicated.