Guardado en:
Detalles Bibliográficos
Autores principales: Doi, Naoki, Osumi, Yuki, Hayashi, Shinpei
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:https://arxiv.org/abs/2408.09716
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913519082930176
author Doi, Naoki
Osumi, Yuki
Hayashi, Shinpei
author_facet Doi, Naoki
Osumi, Yuki
Hayashi, Shinpei
contents Renaming identifiers in source code is a common refactoring task in software development. When renaming an identifier, other identifiers containing words with the same naming intention related to the renaming should be renamed simultaneously. However, identifying these related identifiers can be challenging. This study introduces a technique called RENAS, which identifies and recommends related identifiers that should be renamed simultaneously in Java applications. RENAS determines priority scores for renaming candidates based on the relationships and similarities among identifiers. Since identifiers that have a relationship and/or have similar vocabulary in the source code are often renamed together, their priority scores are determined based on these factors. Identifiers with higher priority are recommended to be renamed together. Through an evaluation involving real renaming instances extracted from change histories and validated manually, RENAS demonstrated an improvement in the F1-measure by more than 0.11 compared with existing renaming recommendation approaches.
format Preprint
id arxiv_https___arxiv_org_abs_2408_09716
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle RENAS: Prioritizing Co-Renaming Opportunities of Identifiers
Doi, Naoki
Osumi, Yuki
Hayashi, Shinpei
Software Engineering
Renaming identifiers in source code is a common refactoring task in software development. When renaming an identifier, other identifiers containing words with the same naming intention related to the renaming should be renamed simultaneously. However, identifying these related identifiers can be challenging. This study introduces a technique called RENAS, which identifies and recommends related identifiers that should be renamed simultaneously in Java applications. RENAS determines priority scores for renaming candidates based on the relationships and similarities among identifiers. Since identifiers that have a relationship and/or have similar vocabulary in the source code are often renamed together, their priority scores are determined based on these factors. Identifiers with higher priority are recommended to be renamed together. Through an evaluation involving real renaming instances extracted from change histories and validated manually, RENAS demonstrated an improvement in the F1-measure by more than 0.11 compared with existing renaming recommendation approaches.
title RENAS: Prioritizing Co-Renaming Opportunities of Identifiers
topic Software Engineering
url https://arxiv.org/abs/2408.09716