Affiliation:
1. School of Computer Science and Technology, Beijing Institute of Technology, Beijing, China
Abstract
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.
Funder
National Natural Science Foundation of China
Publisher
Association for Computing Machinery (ACM)
Subject
General Computer Science,Theoretical Computer Science
Reference175 articles.
1. 2017. https://stackoverflow.com/. 2017. https://stackoverflow.com/.
2. 2019. https://www.unisonweb.org/docs/tour. 2019. https://www.unisonweb.org/docs/tour.
3. 2019. https://godoc.org/golang.org/x/tools/go/loader. 2019. https://godoc.org/golang.org/x/tools/go/loader.
4. 2020. https://github.com/D12126977/survey. 2020. https://github.com/D12126977/survey.
5. Lexicon Bad Smells in Software
Cited by
48 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献