Empirical Study of Co-Renamed Identifiers
Yuki Osumi, Naotaka Umekawa, Hitomi Komata, Shinpei Hayashi

TL;DR
This study analyzes over one million instances of co-renamed identifiers in open-source projects to identify relationships that can improve automated identifier renaming recommendations, considering semantic similarities and inflections.
Contribution
It identifies key relationships between co-renamed identifiers and evaluates the impact of word inflections on these relationships, informing better renaming tools.
Findings
Identifiers of methods in the same class are frequently co-renamed.
Variable defining and initializing identifiers often are renamed together.
Considering inflections does not significantly change relationship patterns.
Abstract
Background: The renaming of program identifiers is the most common refactoring operation. Because some identifiers are related to each other, developers may need to rename related identifiers together. Aims: To understand how developers rename multiple identifiers simultaneously, it is necessary to consider the relationships between identifiers in the program and the brief matching for non-identical but semantically similar identifiers. Method: We investigate the relationships between co-renamed identifiers and identify the types of their relationships that contribute to improving the recommendation using more than 1M of renaming instances collected from the histories of open-source software projects. We also evaluate and compare the impact of co-renaming and the relationships between identifiers when inflections occur in the words in identifiers are taken into account. Results: We…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
