Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3422392.3422408acmotherconferencesArticle/Chapter ViewAbstractPublication PagessbesConference Proceedingsconference-collections
short-paper

Analyzing the Impact of Refactoring on Bad Smells

Published: 21 December 2020 Publication History

Abstract

Refactoring aims to remove bad smells and increase software maintainability by improving the software structure without changing its behavior. However, some studies show that refactoring tools may introduce new bad smells into the source code, but to the best of our knowledge, we have not been able to find a complete catalog that states the bad smells introduced from refactoring. To bridge this gap, this paper goal is to evaluate the impacts of refactoring on the detection of bad smells in open-source Java systems. Hence, we want to know if and when the automated refactoring removes or introduces bad smells.

References

[1]
G. Bavota, A. De Lucia, M. Di Penta, R. Oliveto, and F. Palomba. 2015. An experimental investigation on the innate relationship between quality and refactoring. Journal of Systems and Software (2015), 1--14.
[2]
D. Cedrim and A. Garcia et al. 2017. Understanding the impact of refactoring on smells: A longitudinal study of 23 software projects. In Proc. of Foundations of Soft. Engineering. 465--475.
[3]
D. Cruz, E. Figueiredo, and A Santana. 2020. Detecting Bad Smells with Machine Learning Algorithms: an Empirical Study. In Proc. of Int. Conf. on Technical Debt (TechDebt).
[4]
W. Fenske, S. Schulze, D. Meyer, and G. Saake. 2015. When code smells twice as much: Metric-based detection of variability-aware code smells. In Int. Conf. on Source Code Analysis and Manipulation. 171--180.
[5]
E. Fernandes, J. Oliveira, G. Vale, T. Paiva, and E. Figueiredo. 2016. A Reviewbased Comparative Study of Bad Smell Detection Tools. In Proc. of Int. Conf. on Evaluation and Assessment in Software Engineering.
[6]
M. Fokaefs, N. Tsantalis, E. Stroulia, and A. Chatzigeorgiou. 2012. Identification and application of extract class refactorings in object-oriented systems. Journal of Systems and Software (2012), 2241--2260.
[7]
F. A. Fontana and S. Spinelli. 2011. Impact of refactoring on quality code evaluation. In Proc. of the 4th Workshop on Refactoring Tools. 37--40.
[8]
M. Fowler, K. Beck, J. Brant, and W. Opdyke. 1999. Refactoring: Improving the Design of Existing Code. Addison-Wesley.
[9]
V. Gupta, P. K. Kapur, and D. Kumar. 2016. Modelling and measuring code smells in enterprise applications using TISM and two-way assessment. Int. Journal of Syst. Assurance Eng. and Management (2016), 332--340.
[10]
G. Hecht, O. Benomar, R. Rouvoy, N. Moha, and L. Duchien. 2015. Tracking the software quality of android applications along their evolution (t). In 30th IEEE/ACM Int. Conf. on Automated Software Engineering. 236--247.
[11]
N. Moha, Y.G. Gueheneuc, L. Duchien, and A.F. Le Meur. 2009. Decor: A method for the specification and detection of code and design smells. IEEE Transactions on Software Engineering (2009), 20--36.
[12]
W. Oizumi, L. Sousa, A. Oliveira, A. Garcia, A. B. Agbachi, R. Oliveira, and C. Lucena. 2018. On the identification of design problems in stinky code: experiences and tool support. JBCS (2018), 13.
[13]
A. Ouni, M. Kessentini, M. Cinnéide, H. Sahraoui, K. Deb, and K. Inoue. 2017. MORE: A multi-objective refactoring recommendation approach to introducing design patterns and fixing code smells. JSEP (2017).
[14]
S. Peldszus, G. Kulcsár, M. Lochau, and S. Schulze. 2016. Continuous detection of design flaws in evolving object-oriented programs using incremental multipattern matching. In Int. Conf. on Automated Soft. Eng.
[15]
T. Sharma, P. Singh, and D. Spinellis. 2020. An empirical investigation on the relationship between design and architecture smells. Accepted in EMSE (2020).
[16]
M. Shomrat and Y. A. Feldman. [n.d.]. Detecting Refactored Clones. In ECOOP, Giuseppe Castagna (Ed.). 502--526.
[17]
E. Sobrinho, A. De Lucia, and M. Maia. 2018. A systematic literature review on bad smells-5 W's. Trans. on Software Engineering (2018).
[18]
C. S. Tavares, A. Santana, E. Figueiredo, and M. A. S. Bigonha. Accepted in 2020. Revisiting the Bad Smell and Refactoring Relationship: A Systematic Literature Review. In Experimental Software Engineering (ESELAW).
[19]
E. Tempero, C. Anslow, J. Dietrich, T. Han, J. Li, M.s Lumpe, H. Melton, and J. Noble. 2010. Qualitas Corpus: A Curated Collection of Java Code for Empirical Studies. In Asia Pacific Software Engineering Conference (APSEC2010). 336--345. https://doi.org/10.1109/APSEC.2010.46
[20]
M. Tufano, F. Palomba, G. Bavota, R. Oliveto, M. Di Penta, A. De Lucia, and D. Poshyvanyk. 2015. When and why your code starts to smell bad. In Proc. of the 37th Int. Conference on Software Engineering. 403--414.
[21]
S. A Vidal, C. Marcos, and J A. Díaz-Pace. 2016. An approach to prioritize code smells for refactoring. Automated Soft. Engineering (2016), 501--532.
[22]
C. Wohlin, P. Runeson, M. Höst, M. C Ohlsson, B. Regnell, and A. Wesslén. 2012. Exp. in software engineering. Springer Science & Business Media.

Cited By

View all
  • (2024)A Comparative Study of Automated Refactoring ToolsIEEE Access10.1109/ACCESS.2024.336131412(18764-18781)Online publication date: 2024
  • (2023)A Preliminary Critical Review of the Impact of Three Popular Development Practices on Source Code Maintainability2023 IEEE 47th Annual Computers, Software, and Applications Conference (COMPSAC)10.1109/COMPSAC57700.2023.00252(1633-1637)Online publication date: Jun-2023
  • (2023)A critical comparison on six static analysis toolsJournal of Systems and Software10.1016/j.jss.2022.111575198:COnline publication date: 1-Apr-2023
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
SBES '20: Proceedings of the XXXIV Brazilian Symposium on Software Engineering
October 2020
901 pages
ISBN:9781450387538
DOI:10.1145/3422392
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

In-Cooperation

  • SBC: Brazilian Computer Society

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 21 December 2020

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Bad Smell
  2. Impacts of Refactoring
  3. Refactoring

Qualifiers

  • Short-paper
  • Research
  • Refereed limited

Conference

SBES '20

Acceptance Rates

Overall Acceptance Rate 147 of 427 submissions, 34%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)17
  • Downloads (Last 6 weeks)4
Reflects downloads up to 14 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2024)A Comparative Study of Automated Refactoring ToolsIEEE Access10.1109/ACCESS.2024.336131412(18764-18781)Online publication date: 2024
  • (2023)A Preliminary Critical Review of the Impact of Three Popular Development Practices on Source Code Maintainability2023 IEEE 47th Annual Computers, Software, and Applications Conference (COMPSAC)10.1109/COMPSAC57700.2023.00252(1633-1637)Online publication date: Jun-2023
  • (2023)A critical comparison on six static analysis toolsJournal of Systems and Software10.1016/j.jss.2022.111575198:COnline publication date: 1-Apr-2023
  • (2023)Machine Learning-Based Exploration of the Impact of Move Method Refactoring on Object-Oriented Software Quality AttributesArabian Journal for Science and Engineering10.1007/s13369-023-08174-049:3(3867-3885)Online publication date: 21-Aug-2023
  • (2022)Toward Understanding the Impact of Refactoring on Program Comprehension2022 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER)10.1109/SANER53432.2022.00090(731-742)Online publication date: Mar-2022
  • (2021)How Software Refactoring Impacts Execution TimeACM Transactions on Software Engineering and Methodology10.1145/348513631:2(1-23)Online publication date: 24-Dec-2021
  • (2021)A longitudinal study of the impact of refactoring in android applicationsInformation and Software Technology10.1016/j.infsof.2021.106699140:COnline publication date: 1-Dec-2021

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media