RefDiff 2.0: A Multi-language Refactoring Detection Tool

Registro completo de metadados
MetadadosDescriçãoIdioma
Autor(es): dc.creatorSilva, Danilo-
Autor(es): dc.creatorSilva, João-
Autor(es): dc.creatorSantos, Gustavo Jansen De Souza-
Autor(es): dc.creatorTerra, Ricardo-
Autor(es): dc.creatorValente, Marco Tulio O.-
Data de aceite: dc.date.accessioned2026-02-09T12:03:50Z-
Data de disponibilização: dc.date.available2026-02-09T12:03:50Z-
Data de envio: dc.date.issued2020-09-17-
Data de envio: dc.date.issued2020-09-17-
Data de envio: dc.date.issued2019-12-
Fonte completa do material: dc.identifierhttps://repositorio.ufla.br/handle/1/43124-
Fonte completa do material: dc.identifierhttps://ieeexplore.ieee.org/document/8966516-
Fonte: dc.identifier.urihttp://educapes.capes.gov.br/handle/capes/1153524-
Descrição: dc.descriptionIdentifying refactoring operations in source code changes is valuable to understand software evolution. Therefore, several tools have been proposed to automatically detect refactorings applied in a system by comparing source code between revisions. The availability of such infrastructure has enabled researchers to study refactoring practice in large scale, leading to important advances on refactoring knowledge. However, although a plethora of programming languages are used in practice, the vast majority of existing studies are restricted to the Java language due to limitations of the underlying tools. This fact poses an important threat to external validity. Thus, to overcome such limitation, in this paper we propose RefDiff 2.0, a multi-language refactoring detection tool. Our approach leverages techniques proposed in our previous work and introduces a novel refactoring detection algorithm that relies on the Code Structure Tree (CST), a simple yet powerful representation of the source code that abstracts away the specificities of particular programming languages. Despite its language-agnostic design, our evaluation shows that RefDiff's precision (96%) and recall (80%) are on par with state-of-the-art refactoring detection approaches specialized in the Java language. Our modular architecture also enables one to seamless extend RefDiff to support other languages via a plugin system. As a proof of this, we implemented plugins to support two other popular programming languages: JavaScript and C. Our evaluation in these languages reveals that precision and recall ranges from 88% to 91%. With these results, we envision RefDiff as a viable alternative for breaking the single-language barrier in refactoring research and in practical applications of refactoring detection.-
Idioma: dc.languageen-
Publicador: dc.publisherInstitute of Electrical and Electronic Engineers - IEEE-
Direitos: dc.rightsrestrictAccess-
???dc.source???: dc.sourceIEEE Transactions on Software Engineering-
Palavras-chave: dc.subjectTools-
Palavras-chave: dc.subjectJava-
Palavras-chave: dc.subjectCrawlers-
Palavras-chave: dc.subjectMeasurement-
Palavras-chave: dc.subjectSoftware - Refatoração-
Palavras-chave: dc.subjectLinguagens de programação-
Título: dc.titleRefDiff 2.0: A Multi-language Refactoring Detection Tool-
Tipo de arquivo: dc.typeArtigo-
Aparece nas coleções:Repositório Institucional da Universidade Federal de Lavras (RIUFLA)

Não existem arquivos associados a este item.