On the diffuseness and the impact on maintainability of code smells: a large scale empirical investigation
Open accessThe DOI matches its Crossref record; 44 of the 44 references it cites were found in a registry or an index.
Abstract
Code smells are symptoms of poor design and implementation choices that may hinder code comprehensibility and maintainability. Despite the effort devoted by the research community in studying code smells, the extent to which code smells in software systems affect software maintainability remains still unclear. In this paper we present a large scale empirical investigation on the diffuseness of code smells and their impact on code change- and fault-proneness. The study was conducted across a total of 395 releases of 30 open source projects and considering 17,350 manually validated instances of 13 different code smell kinds. The results show that smells characterized by long and/or complex code (e.g., Complex Class ) are highly diffused, and that smelly classes have a higher change- and fault-proneness than smell-free classes.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
(1990) · Choice Reviews Online · doi:10.5860/choice.27-3338 · Cited by 35,305
A Simple Sequentially Rejective Multiple Test Procedure
(1979) · Scandinavian Journal of Statistics · doi:10.2307/4615733 · Cited by 21,526 · cited 1×
“Since we performed multiple tests, we adjusted our p-values using the Holm’s correction procedure (Holm 1979).”
MethodPractical Nonparametric Statistics
Groggel, D. J. (2000) · Technometrics · doi:10.1080/00401706.2000.10486067 · Cited by 11,041
Refactoring: Improving the Design of Existing Code
Fowler, M. (2002) · Lecture Notes in Computer Science · doi:10.1007/3-540-45672-4_31 · Cited by 5,591
Śliwerski, J., Zimmermann, T., & Zeller, A. (2005) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/1082983.1083147 · Cited by 805
DECOR: A Method for the Specification and Detection of Code and Design Smells
Moha, N., Gueheneuc, Y.-G., Duchien, L., & Le Meur, A.-F. (2010) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2009.50 · Cited by 803
The WyCash portfolio management system
Cunningham, W. (1992) · Addendum to the proceedings on Object-oriented programming systems, languages, and applications (Addendum) - OOPSLA '92 · doi:10.1145/157709.157715 · Cited by 742
Technical Debt: From Metaphor to Theory and Practice
Kruchten, P., Nord, R. L., & Ozkaya, I. (2012) · IEEE Software · doi:10.1109/ms.2012.167 · Cited by 735 · cited 1×
“As a form of technical debt (Cunningham 1993), they could hinder the comprehensibility and maintainability of software systems (Kruchten et al. 2012).”
BackgroundPredicting the location and number of faults in large software systems
Ostrand, T. J., Weyuker, E. J., & Bell, R. M. (2005) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2005.49 · Cited by 720
Detection strategies: metrics-based rules for detecting design flaws
Marinescu, R. (2004) · 20th IEEE International Conference on Software Maintenance, 2004. Proceedings. · doi:10.1109/icsm.2004.1357820 · Cited by 551
The WyCash portfolio management system
Cunningham, W. (1993) · ACM SIGPLAN OOPS Messenger · doi:10.1145/157710.157715 · Cited by 545
Object-Oriented Metrics in Practice
(2006) · Springer eBooks · doi:10.1007/3-540-39538-5 · Cited by 527
An exploratory study of the impact of antipatterns on class change- and fault-proneness
Khomh, F., Penta, M. D., Guéhéneuc, Y.-G., & Antoniol, G. (2012) · Empirical Software Engineering · doi:10.1007/s10664-011-9171-y · Cited by 395
Self-citationŚliwerski, J., Zimmermann, T., & Zeller, A. (2005) · Proceedings of the 2005 international workshop on Mining software repositories - MSR '05 · doi:10.1145/1083142.1083147 · Cited by 395
Is it a bug or an enhancement?: a text-based approach to classify change requests
Antoniol, G., Ayari, K., Di Penta, M., Khomh, F., & Guéhéneuc, Y.-G. (2008) · Proceedings of the 2008 conference of the center for advanced studies on collaborative research meeting of minds - CASCON '08 · doi:10.1145/1463788.1463819 · Cited by 366
Identification of Move Method Refactoring Opportunities
Tsantalis, N., & Chatzigeorgiou, A. (2009) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2009.1 · Cited by 339
Quantifying the Effect of Code Smells on Maintenance Effort
Sjoberg, D. I. K., Yamashita, A., Anda, B. C. D., Mockus, A., & Dyba, T. (2013) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2012.89 · Cited by 316
Abbes, M., Khomh, F., Gueheneuc, Y.-G., & Antoniol, G. (2011) · 2011 15th European Conference on Software Maintenance and Reengineering · doi:10.1109/csmr.2011.24 · Cited by 309
An Exploratory Study of the Impact of Code Smells on Software Change-proneness
Khomh, F., Di Penta, M., & Gueheneuc, Y.-G. (2009) · 2009 16th Working Conference on Reverse Engineering · doi:10.1109/wcre.2009.28 · Cited by 306
Mining Version Histories for Detecting Code Smells
Palomba, F., Bavota, G., Penta, M. D., Oliveto, R., Poshyvanyk, D., & De Lucia, A. (2015) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2014.2372760 · Cited by 259
Self-citation29th International Conference on Software Engineering (ICSE'07)
(2007) · doi:10.1109/icse10853.2007 · Cited by 259
Generating robust parsers using island grammars
Moonen, L. (2002) · Proceedings Eighth Working Conference on Reverse Engineering · doi:10.1109/wcre.2001.957806 · Cited by 252
Do They Really Smell Bad? A Study on Developers' Perception of Bad Code Smells
Palomba, F., Bavota, G., Di Penta, M., Oliveto, R., & De Lucia, A. (2014) · 2014 IEEE International Conference on Software Maintenance and Evolution · doi:10.1109/icsme.2014.32 · Cited by 251
Self-citationThe evolution and impact of code smells: A case study of two open source systems
Olbrich, S., Cruzes, D. S., Basili, V., & Zazworka, N. (2009) · 2009 3rd International Symposium on Empirical Software Engineering and Measurement · doi:10.1109/esem.2009.5314231 · Cited by 245
Li, W., & Shatnawi, R. (2007) · Journal of Systems and Software · doi:10.1016/j.jss.2006.10.018 · Cited by 239
Olbrich, S. M., Cruzes, D. S., & Sjoberg, D. I. K. (2010) · 2010 IEEE International Conference on Software Maintenance · doi:10.1109/icsm.2010.5609564 · Cited by 236
When and Why Your Code Starts to Smell Bad (and Whether the Smells Go Away)
Tufano, M., Palomba, F., Bavota, G., Oliveto, R., Penta, M. D., De Lucia, A., & Poshyvanyk, D. (2017) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2017.2653105 · Cited by 236
Self-citationAn experimental investigation on the innate relationship between quality and refactoring
Bavota, G., De Lucia, A., Di Penta, M., Oliveto, R., & Palomba, F. (2015) · Journal of Systems and Software · doi:10.1016/j.jss.2015.05.024 · Cited by 232
Self-citationA Bayesian Approach for the Detection of Code and Design Smells
Khomh, F., Vaucher, S., Guéhéneuc, Y.-G., & Sahraoui, H. (2009) · 2009 Ninth International Conference on Quality Software · doi:10.1109/qsic.2009.47 · Cited by 224
When and Why Your Code Starts to Smell Bad
Tufano, M., Palomba, F., Bavota, G., Oliveto, R., Di Penta, M., De Lucia, A., & Poshyvanyk, D. (2015) · 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering · doi:10.1109/icse.2015.59 · Cited by 223
Self-citationDo code smells reflect important maintainability aspects?
Yamashita, A., & Moonen, L. (2012) · 2012 28th IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsm.2012.6405287 · Cited by 222
A review-based comparative study of bad smell detection tools
Fernandes, E., Oliveira, J., Vale, G., Paiva, T., & Figueiredo, E. (2016) · Proceedings of the 20th International Conference on Evaluation and Assessment in Software Engineering · doi:10.1145/2915970.2915984 · Cited by 192
Product Metrics for Automatic Identification of "Bad Smell" Design Problems in Java Source-Code
Munro, M. J. (2005) · 11th IEEE International Software Metrics Symposium (METRICS'05) · doi:10.1109/metrics.2005.38 · Cited by 191
Using history information to improve design flaws detection
Ratiu, D., Ducasse, S., Gîrba, T., & Marinescu, R. (2004) · Euromicro Conference on Software Maintenance and Reengineering (CSMR) · doi:10.1109/csmr.2004.1281423 · Cited by 179
An empirical investigation into the nature of test smells
Tufano, M., Palomba, F., Bavota, G., Di Penta, M., Oliveto, R., De Lucia, A., & Poshyvanyk, D. (2016) · Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/2970276.2970340 · Cited by 160
Self-citationInvestigating the Evolution of Bad Smells in Object-Oriented Code
Chatzigeorgiou, A., & Manakos, A. (2010) · International Conference on the Quality of Information and Communications Technology (QUATIC) · doi:10.1109/quatic.2010.16 · Cited by 148
On the Impact of Design Flaws on Software Defects
D'Ambros, M., Bacchelli, A., & Lanza, M. (2010) · 2010 10th International Conference on Quality Software · doi:10.1109/qsic.2010.58 · Cited by 140
On the diffusion of test smells in automatically generated test code: an empirical study
Palomba, F., Nucci, D. D., Panichella, A., Oliveto, R., & Lucia, A. D. (2016) · IEEE/ACM International Workshop on Search-Based Software Testing (SBST) · doi:10.1145/2897010.2897016 · Cited by 129
Self-citationUnderstanding the longevity of code smells: preliminary results of an explanatory survey
Arcoverde, R., Garcia, A., & Figueiredo, E. (2011) · Workshop on Refactoring Tools (WRT) · doi:10.1145/1984732.1984740 · Cited by 102
A controlled experiment investigation of an object-oriented design heuristic for maintainability
Deligiannis, I., Stamelos, I. G., Angelis, L., Roumeliotis, Μ., & Shepperd, M. (2003) · Journal of Systems and Software · doi:10.1016/s0164-1212(03)00240-1 · Cited by 87
An empirical study of code smells in JavaScript projects
Saboury, A., Musavi, P., Khomh, F., & Antoniol, G. (2017) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2017.7884630 · Cited by 87
Palomba, F., Lucia, A. D., Bavota, G., & Oliveto, R. (2014) · Advances in computers · doi:10.1016/b978-0-12-800160-8.00004-8 · Cited by 52
Self-citationThe effect of refactoring on change and fault-proneness in commercial C# software
Gatrell, M., & Counsell, S. (2014) · Science of Computer Programming · doi:10.1016/j.scico.2014.12.002 · Cited by 50
AN EXPERIMENTAL DETERMINATION OF THE PROBABLE ERROR OF DR SPEARMAN'S CORRELATION COEFFICIENTS
STUDENT (1921) · Biometrika · doi:10.1093/biomet/13.2-3.263 · Cited by 27
Cited by
Azeem, M. I., Palomba, F., Shi, L., & Wang, Q. (2019) · Information and Software Technology · doi:10.1016/j.infsof.2018.12.009 · Cited by 289
Self-citationProceedings of 1993 15th International Conference on Software Engineering
(1993) · doi:10.1109/icse.1993 · Cited by 234
An Empirical Study of Code Smells in Transformer-based Code Generation Techniques
Siddiq, M. L., Majumder, S. H., Mim, M. R., Jajodia, S., & Santos, J. C. S. (2022) · 2022 IEEE 22nd International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam55253.2022.00014 · Cited by 70
“Although code smells may not directly affect the software’s functionality, they can introduce long-term maintainability issues and technical debt [13].”
Background
Metadata
- Authors
- Palomba, F., Bavota, G., Penta, M. D., Fasano, F., Oliveto, R., & Lucia, A. D.
- Venue
- Empirical Software Engineering
- Published
- 2017-08-07
- Volume
- 23
- Issue
- 3
- Pages
- 1188-1221
- ISSN
- 1382-3256 (ISSN-L)
- 1573-7616
- OpenAlex
- W2742512005
- Cited by
- 305
- References
- 44
- FWCI
- 55.53
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.