The DOI matches its Crossref record; 37 of the 37 references it cites were found in a registry or an index.
Mining Version Histories for Detecting Code Smells
Abstract
Code smells are symptoms of poor design and implementation choices that may hinder code comprehension, and possibly increase changeand fault-proneness. While most of the detection techniques just rely on structural information, many code smells are intrinsically characterized by how code elements change overtime. In this paper, we propose Historical Information for Smell deTection (HIST), an approach exploiting change history information to detect instances of five different code smells, namely Divergent Change, Shotgun Surgery, Parallel Inheritance, Blob, and Feature Envy. We evaluate HIST in two empirical studies. The first, conducted on 20 open source projects, aimed at assessing the accuracy of HIST in detecting instances of the code smells mentioned above. The results indicate that the precision of HIST ranges between 72 and 86 percent, and its recall ranges between 58 and 100 percent. Also, results of the first study indicate that HIST is able to identify code smells that cannot be identified by competitive approaches solely based on code analysis of a single system's snapshot. Then, we conducted a second study aimed at investigating to what extent the code smells detected by HIST (and by competitive code analysis techniques) reflect developers' perception of poor design and implementation choices. We involved 12 developers of four open source projects that recognized more than 75 percent of the code smell instances identified by HIST as actual design/implementation problems.
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
Mining association rules between sets of items in large databases
Agrawal, R., Imieliński, T., & Swami, A. (1993) · Proceedings of the 1993 ACM SIGMOD international conference on Management of data · doi:10.1145/170035.170072 · Cited by 14,907 · cited 5×
“historical detector, using association rule discovery [3] or analyzing the set of classes/methods co-changed with the suspected smell.”
MethodInfluentialBaeza-Yates, R. A., & Ribeiro-Neto, B. A. (1999) · Cited by 11,505
McCabe, T. J. (1976) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1976.233837 · Cited by 6,059
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
Questionnaire Design, Interviewing and Attitude Measurement
Albuam, G., & Oppenheim, A. N. (1993) · Journal of Marketing Research · doi:10.2307/3172892 · Cited by 4,971
CCFinder: a multilinguistic token-based code clone detection system for large scale source code
Kamiya, T., Kusumoto, S., & Inoue, K. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2002.1019480 · Cited by 1,711
Response Rate in Academic Studies-A Comparative Analysis
Baruch, Y. (1999) · Human Relations · doi:10.1177/001872679905200401 · Cited by 1,112
DECKARD: Scalable and Accurate Tree-Based Detection of Code Clones
Jiang, L., Misherghi, G., Su, Z., & Glondu, S. (2007) · 29th International Conference on Software Engineering (ICSE'07) · doi:10.1109/icse.2007.30 · Cited by 1,039
AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis
Brown, W. H., Malveau, R. C., McCormick, H. W., & Mowbray, T. J. (1998) · Cited by 932
Mining version histories to guide software changes
Zimmermann, T., Zeller, A., Weissgerber, P., & Diehl, S. (2005) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2005.72 · Cited by 856
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
Object-oriented design heuristics
Riel, A. J. (1996) · Cited by 660
Predicting source code changes by mining change history
Ying, A. T. T., Murphy, G. C., Ng, R., & Chu-Carroll, M. C. (2004) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2004.52 · Cited by 571
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
Experiment on the automatic detection of function clones in a software system using metrics
Mayrand, Leblanc, & Merlo (1996) · Proceedings of International Conference on Software Maintenance ICSM-96 · doi:10.1109/icsm.1996.565012 · Cited by 528
Object-Oriented Metrics in Practice
(2006) · Springer eBooks · doi:10.1007/3-540-39538-5 · Cited by 527
Mining Version Histories to Guide Software Changes
Zimmermann, T., Member, S., Weißgerber, P., Diehl, S., Zeller, A., & Ieee Computer Society (2004) · Cited by 494
Detection of logical coupling based on product release history
Gall, H., Hajek, K., & Jazayeri, M. (2002) · Proceedings. International Conference on Software Maintenance (Cat. No. 98CB36272) · doi:10.1109/icsm.1998.738508 · Cited by 447
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-citationJava quality assurance by detecting code smells
van Emden, E., & Moonen, L. (2003) · Ninth Working Conference on Reverse Engineering, 2002. Proceedings. · doi:10.1109/wcre.2002.1173068 · Cited by 379
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
Mining version histories to guide software changes
Zimmermann, T., Weibgerber, P., Diehl, S., & Zeller, A. (2004) · Proceedings. 26th International Conference on Software Engineering · doi:10.1109/icse.2004.1317478 · Cited by 322
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
Simon, F., Steinbruckner, F., & Lewerentz, C. (2002) · Proceedings Fifth European Conference on Software Maintenance and Reengineering · doi:10.1109/.2001.914965 · Cited by 275
Li, W., & Shatnawi, R. (2007) · Journal of Systems and Software · doi:10.1016/j.jss.2006.10.018 · Cited by 239
Detecting bad smells in source code using change history information
Palomba, F., Bavota, G., Di Penta, M., Oliveto, R., De Lucia, A., & Poshyvanyk, D. (2013) · 2013 28th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2013.6693086 · Cited by 234
Self-citationExploring the impact of inter-smell relations on software maintainability: An empirical study
Yamashita, A. F., & Moonen, L. (2013) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2013.6606614 · Cited by 229
A 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
Do 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
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
Investigating 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
Blending Conceptual and Evolutionary Couplings to Support Change Impact Analysis in Source Code
Kagdi, H., Gethers, M., Poshyvanyk, D., & Collard, M. L. (2010) · Working Conference on Reverse Engineering (WCRE) · doi:10.1109/wcre.2010.21 · Cited by 107
Self-citationIntegrated impact analysis for managing software changes
Gethers, M., Dit, B., Kagdi, H., & Poshyvanyk, D. (2013) · Cited by 105
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
Integrating conceptual and logical couplings for change impact analysis in software
Kagdi, H., Gethers, M., & Poshyvanyk, D. (2012) · Empirical Software Engineering · doi:10.1007/s10664-012-9233-9 · Cited by 95
Self-citation
Cited by
Palomba, F., Bavota, G., Penta, M. D., Fasano, F., Oliveto, R., & Lucia, A. D. (2018) · Empirical Software Engineering · doi:10.1007/s10664-017-9535-z · Cited by 305
Self-citationDetecting code smells using machine learning techniques: Are we there yet?
Di Nucci, D., Palomba, F., Tamburri, D. A., Serebrenik, A., & De Lucia, A. (2018) · 2018 IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2018.8330266 · Cited by 305
Self-citationAzeem, 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-citation(2018) · doi:10.1145/3274404 · Cited by 122
Self-citationPredicting Design Impactful Changes in Modern Code Review: A Large-Scale Empirical Study
Uchoa, A., Barbosa, C., Coutinho, D., Oizumi, W., Assuncao, W. K. G., Vergilio, S. R., Pereira, J. A., Oliveira, A., & Garcia, A. (2021) · 2021 IEEE/ACM 18th International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr52588.2021.00059 · Cited by 42
“Moreover, to ascertain if the level of accuracy is adequate, we compared our model performance results with other approaches both for ML-based smell detection [61], [62] and code review analysis [63].”
MethodResult
Metadata
- Authors
- Palomba, F., Bavota, G., Penta, M. D., Oliveto, R., Poshyvanyk, D., & De Lucia, A.
- Venue
- IEEE Transactions on Software Engineering
- Published
- 2015-05-01
- Volume
- 41
- Issue
- 5
- Pages
- 462-489
- ISSN
- 0098-5589 (ISSN-L)
- 1939-3520
- OpenAlex
- W2071983648
- Cited by
- 259
- References
- 37
- FWCI
- 51.78
- Type
- journal article
- Language
- en
- Open access
- closed
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.