A Survey on Renamings of Software Entities

Guangjie Li*, Hui Liu, Ally S. Nyamawe

*此作品的通讯作者

科研成果: 期刊稿件文献综述同行评审

23 引用 (Scopus)

摘要

More than 70% of characters in the source code are used to label identifiers. Consequently, identifiers are one of the most important source for program comprehension. Meaningful identifiers are crucial to understand and maintain programs. However, for reasons like constrained schedule, inexperience, and unplanned evolution, identifiers may fail to convey the semantics of the entities associated with them. As a result, such entities should be renamed to improve software quality. However, manual renaming and recommendation are fastidious, time consuming, and error prone, whereas automating the process of renamings is challenging: (1) It involves complex natural language processing to understand the meaning of identifers; (2) It also involves difficult semantic analysis to determine the role of software entities. Researchers proposed a number of approaches and tools to facilitate renamings. We present a survey on existing approaches and classify them into identification of renaming opportunities, execution of renamings, and detection of renamings. We find that there is an imbalance between the three type of approaches, and most of implementation of approaches and evaluation dataset are not publicly available. We also discuss the challenges and present potential research directions. To the best of our knowledge, this survey is the first comprehensive study on renamings of software entities.

源语言英语
文章编号3379443
期刊ACM Computing Surveys
53
2
DOI
出版状态已出版 - 6月 2020

指纹

探究 'A Survey on Renamings of Software Entities' 的科研主题。它们共同构成独一无二的指纹。

引用此