A Survey on Renamings of Software Entities

Author:

Li Guangjie1ORCID,Liu Hui1,Nyamawe Ally S.1

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篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Adversarial Machine Learning in Industry: A Systematic Literature Review;Computers & Security;2024-10

2. A Red Teaming Framework for Securing AI in Maritime Autonomous Systems;Applied Artificial Intelligence;2024-09-04

3. Multi-Person Action Recognition Based on Millimeter-Wave Radar Point Cloud;Applied Sciences;2024-08-17

4. Enhancing College Students’ AI Literacy through Human-AI Co-Creation: A Quantitative Study;Proceedings of the 2024 International Conference on Digital Society and Artificial Intelligence;2024-05-24

5. YTBlend: YouTube Video Recommendations System;2024 International Conference on Computational Intelligence and Computing Applications (ICCICA);2024-05-23

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3