Passer à la navigation principale Passer à la recherche Passer au contenu principal

Code smells and refactoring: A tertiary systematic review of challenges and observations

  • Guilherme Lacerda
  • , Fabio Petrillo
  • , Marcelo Pimenta
  • , Yann Gaël Guéhéneuc
  • Universidade do Vale do Rio dos Sinos
  • Universidade Federal do Rio Grande do Sul
  • Université du Québec à Chicoutimi
  • Concordia University

Résultats de recherche: Contribution à un journal › Article publié dans une revue, révisé par les pairs › Revue par des pairs

234 Citations (Scopus)

Résumé

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.

Langue originaleAnglais
Numéro d'article110610
RevueJournal of Systems and Software
Volume167
Les DOIs
ÉtatPublié - sept. 2020
Modification externeOui

Classification disciplinaire ASJC Scopus

  • Logiciel
  • Systèmes d'information
  • Matériel et architecture

Empreinte digitale

Voici les principaux termes ou expressions associés à « Code smells and refactoring: A tertiary systematic review of challenges and observations ». Ces libellés thématiques sont générés à partir du titre et du résumé de la publication. Ensemble, ils forment une empreinte digitale unique.

Citer cette ressource