This study investigates the phenomenon of identifiers undergoing multiple renamings, known as rename chains, across 800 open-source Java systems. The research reveals that while most identifiers typically undergo a single rename, rename chains are common and primarily driven by code cleanup, refactoring, and bug fixes, often conducted by the same developer. Key findings include the median renaming interval, the grammatical structure of names in the chain, and the importance of high-quality names for code comprehension.
Related topics: