RMT: A Semi-Automated Tool for Refactoring Design Patterns

  • Yasmin Riemer UTFPR
  • Pedro Magnus Pedroso Nogueira UTFPR
  • Simone Nasser Matos UTFPR
  • Helyane Bronoski Borges UTFPR

Resumo


When done manually, software refactoring becomes a thorough job and can introduce chances of human failure during its application. Automated or semi-automated tools for this purpose can facilitate the refactoring process. This paper presents the semi-automated Refactoring and Measurement Tool (RMT) that performs pattern-based refactoring in source code written in Java. RMT detects and applies design patterns using literature methods and evaluates the benefits of pattern application regarding quality attributes using software metrics. Five tests were performed with Java projects, introducing candidate classes for refactoring the Strategy and Template Method patterns. Link for video: youtu.be/tDWTmFJCfg8.

Palavras-chave: Software Refactoring, Quality Metrics, Design Patterns, Automated Tool
Publicado
25/09/2023
RIEMER, Yasmin; NOGUEIRA, Pedro Magnus Pedroso; MATOS, Simone Nasser; BORGES, Helyane Bronoski. RMT: A Semi-Automated Tool for Refactoring Design Patterns. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SOFTWARE (SBES), 37. , 2023, Campo Grande/MS. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2023 . p. 77–82.