We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/Improving the Precision of Fowler's Definitions of Bad Smells
PeriodicalsComputer Science & Information Technology

Improving the Precision of Fowler's Definitions of Bad Smells

Checking your access to this record.

Abstract & Overview

Current approaches to detecting bad smells in code are mainly based on software metrics. We suggest that these methods lack precision in detecting bad smells, and we propose a code pattern-based approach to detecting bad smells. However before such a pattern-based approach can be implemented, Fowler's original definitions of bad smells need to be made more precise. Currently Fowler's definitions are too informal to implement in a pattern-searching tool. In this paper we use an expert panel to evaluate our enhanced definitions for five of Fowler's bad smells. We use a questionnaire to survey four experts' opinions of our bad smell definitions. Our results show that the experts basically agree with our enhanced definitions of the message chains, middle man and speculative generality bad smells. However, there are strong disagreements on our definitions of the data clumps and switch statements bad smells. We present enhanced definitions on the basis of these expert opinions.

Cite this record

Min Zhang, Nathan Baddoo, Paul Wernick, Tracy Hall (2008). Improving the Precision of Fowler's Definitions of Bad Smells. IEEE Software Engineering Workshop (SEW), 161–166. https://doi.org/10.1109/sew.2008.26

Copy in another style

Zhang, M., Baddoo, N., Wernick, P., & Hall, T. (2008). Improving the Precision of Fowler's Definitions of Bad Smells. IEEE Software Engineering Workshop (SEW), 161–166. https://doi.org/10.1109/sew.2008.26
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.