|
| This Article | ||
| ||
| Share | ||
| Bibliographic References | ||
| Add to: | ||
| | ||
| Search | ||
| ||
| ASCII Text | x | ||
| Dag I.K. Sjoberg, Aiko Yamashita, Bente Anda, Audris Mockus, Tore Dyba, "Quantifying the Effect of Code Smells on Maintenance Effort," IEEE Transactions on Software Engineering, vol. 99, no. 1, pp. 1, , 5555. | |||
| BibTex | x | ||
| @article{ 10.1109/TSE.2012.89, author = {Dag I.K. Sjoberg and Aiko Yamashita and Bente Anda and Audris Mockus and Tore Dyba}, title = {Quantifying the Effect of Code Smells on Maintenance Effort}, journal ={IEEE Transactions on Software Engineering}, volume = {99}, number = {1}, issn = {0098-5589}, year = {5555}, pages = {1}, doi = {http://doi.ieeecomputersociety.org/10.1109/TSE.2012.89}, publisher = {IEEE Computer Society}, address = {Los Alamitos, CA, USA}, } | |||
| RefWorks Procite/RefMan/Endnote | x | ||
| TY - JOUR JO - IEEE Transactions on Software Engineering TI - Quantifying the Effect of Code Smells on Maintenance Effort IS - 1 SN - 0098-5589 SP EP EPD - 1 A1 - Dag I.K. Sjoberg, A1 - Aiko Yamashita, A1 - Bente Anda, A1 - Audris Mockus, A1 - Tore Dyba, PY - 5555 KW - Maintenance engineering KW - Java KW - Software KW - Surgery KW - Time measurement KW - Context KW - Electronic mail KW - Product metrics KW - Software/Software Engineering KW - Software Engineering KW - Design KW - Object-oriented design methods KW - Distribution KW - Maintenance KW - and Enhancement KW - Maintainability KW - Metrics/Measurement VL - 99 JA - IEEE Transactions on Software Engineering ER - | |||
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TSE.2012.89
Context: Code smells are assumed to indicate bad design that leads to less maintainable code. However, this assumption has not been investigated in controlled studies with professional software developers. Aim: This paper investigates the relationship between code smells and maintenance effort. Method: Six developers were hired to perform three maintenance tasks each on four functionally equivalent Java systems originally implemented by different companies. Each developer spent three to four weeks. In total, they modified 298 Java files in the four systems. An Eclipse IDE plug-in measured the exact amount of time a developer spent maintaining each file. Regression analysis was used to explain the effort using file properties, including the number of smells. Results: None of the 12 investigated smells was significantly associated with increased effort after we adjusted for file size and the number of changes; Refused Bequest was significantly associated with decreased effort. File size and the number of changes explained almost all of the modeled variation in effort. Conclusion: The effects of the 12 smells on maintenance effort were limited. To reduce maintenance effort, a focus on reducing code size and the work practices that limit the number of changes may be more beneficial than refactoring code smells.
Index Terms:
Maintenance engineering,Java,Software,Surgery,Time measurement,Context,Electronic mail,Product metrics,Software/Software Engineering,Software Engineering,Design,Object-oriented design methods,Distribution,Maintenance,and Enhancement,Maintainability,Metrics/Measurement
Citation:
Dag I.K. Sjoberg, Aiko Yamashita, Bente Anda, Audris Mockus, Tore Dyba, "Quantifying the Effect of Code Smells on Maintenance Effort," IEEE Transactions on Software Engineering, 11 April 2013. IEEE computer Society Digital Library. IEEE Computer Society, <http://doi.ieeecomputersociety.org/10.1109/TSE.2012.89>
Usage of this product signifies your acceptance of the Terms of Use.

