Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Quantifying the effect of code smells on maintenance effort
Sjoberg D., Yamashita A., Anda B., Mockus A., Dyba T.  IEEE Transactions on Software Engineering 39 (8): 1144-1156, 2013. Type: Article
Date Reviewed: Jul 7 2014

Should we be worried about code smells? It would seem not. In a controlled industrial setting, six developers undertook real maintenance tasks over a period of three to four weeks on four different but functionally equivalent systems. The time they spent working on these tasks was measured directly using MimEc, an Eclipse integrated development environment (IDE) plugin. Various regression analyses were undertaken to determine if code smells, whose nature and density varied between the four systems, affected effort. The 12 code smells examined were found to have no additional explanatory power. Instead, the effort of working on a file could be predicted to an extent by the size of the file. The authors conclude that focusing on ways to reduce code size may prove beneficial for reducing maintenance effort. According to Table 3, the density of code smells was small, so many empirical software engineers will not be surprised by the findings of this study.

Despite finding an average drop in effort of 40 percent between the first and second round of their controlled study, the authors failed to conclude that obtaining a familiarity with a domain eases the effort involved for subsequent work in the same domain. Also, despite the fact that System B was around two to three times bigger than the other three systems, the authors failed to investigate the nature of System B and so did not discover the reasons why it was so much bigger. Nevertheless, this paper is recommended to those working in software quality assurance and software maintenance.

Reviewer:  Andy Brooks Review #: CR142475 (1410-0906)
Bookmark and Share
  Reviewer Selected
Featured Reviewer
Software Maintenance (K.6.3 ... )
Would you recommend this review?
Other reviews under "Software Maintenance": Date
Retrospectives antipatterns
Corry A.,  Addison-Wesley, Boston, MA, 2021. 234 pp. Type: Book (978-0-136823-36-0)
Sep 13 2021
Building maintainable software: ten guidelines for future-proof code (Java edition)
Visser J.,  O’Reilly Media, Inc., Sebastopol, CA, 2016. 168 pp. Type: Book (978-1-491953-52-5)
Nov 18 2016
Software in MRI scanners
Hofland L., van der Linden J.  IEEE Software 27(4): 87-89, 2010. Type: Article
Oct 14 2010

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright © 2000-2021 ThinkLoud, Inc.
Terms of Use
| Privacy Policy