Code Smells and Refactoring: A Tertiary Systematic Review of Challenges and Observations. Lacerda, G., Petrillo, F., Pimenta, M. S., & Gu�h�neuc, Y. In Lo, D. & Shepherd, D., editors, Proceedings of the 36<sup>th</sup> International Conference on Software Maintenance and Evolution (ICSM), September–October, 2020. IEEE CS Press. Journal FirstJournal First / Conference Second track (J1C2). 1 page.
Code Smells and Refactoring: A Tertiary Systematic Review of Challenges and Observations [pdf]Paper  abstract   bibtex   
Refactoring and smells have been well researched by the software-engineering research community these past decades. Several secondary studies have been published on code smells, discussing their implications on software quality,their impact on maintenance and evolution, and existing tools for their detection. Other secondary studies addressed refactoring, discussing refactoring techniques, opportunities for refactoring, impact on quality, and tools support. In this paper, we present a tertiary systematic literature review of previous surveys, secondary systematic literature reviews, and systematic mappings. We identify the main observations (what we know) and challenges (what we do not know) on code smells and refactoring. We perform this tertiary review using eight scientific databases, based on a set of five research questions, identifying 40 secondary studies between 1992 and 2018. We organize the main observations and challenges about code smell and their refactoring into: smells definitions, most common code-smell detection approaches, code-smell detection tools, most common refactoring, and refactoring tools. We show that code smells and refactoring have a strong relationship with quality attributes, i.e., with understandability, maintainability, testability, complexity, functionality, and reusability. We argue that code smells and refactoring could be considered as the two faces of a same coin. Besides, we identify how refactoring affects quality attributes, more than code smells. We also discuss the implications of this work for practitioners, researchers, and instructors. We identify 13 open issues that could guide future research work. Thus, we want to highlight the gap between code smells and refactoring in the current state of software-engineering research. We wish that this work could help the software-engineering research community in collaborating on future work on code smells and refactoring.

Downloads: 0