...
首页> 外文期刊>ACM Computing Surveys >A Survey on Renamings of Software Entities
【24h】

A Survey on Renamings of Software Entities

机译:软件实体重新创建调查

获取原文
获取原文并翻译 | 示例
           

摘要

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.
机译:源代码中超过70%的字符用于标记标识符。因此,标识符是程序理解的最重要的来源之一。有意义的标识符对于了解和维护计划至关重要。然而,出于受约束的时间表,缺乏经验和意外的演化,标识符可能无法传达与它们相关联的实体的语义。因此,应该重命名这样的实体以提高软件质量。但是,手动重命名和推荐是挑剔,耗时和容易出错的,而自动化的自动化是具有挑战性的:(1)它涉及复杂的自然语言处理以了解标识符的含义; (2)它还涉及困难的语义分析,以确定软件实体的作用。研究人员提出了许多方法和工具,以促进重新创作。我们对现有方法提出了一项调查,并将其分类为识别重命名机会,重新参与和检测重新创建。我们发现,三种类型的方法之间存在不平衡,并且大部分方法和评估数据集的实现都不公开。我们还讨论了挑战和呈现潜在的研究方向。据我们所知,这项调查是对软件实体重创的第一个全面研究。

著录项

  • 来源
    《ACM Computing Surveys》 |2021年第2期|41.1-41.38|共38页
  • 作者单位

    Beijing Inst Technol Sch Comp Sci & Technol Beijing 100081 Peoples R China;

    Beijing Inst Technol Sch Comp Sci & Technol Beijing 100081 Peoples R China;

    Beijing Inst Technol Sch Comp Sci & Technol Beijing 100081 Peoples R China;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Rename refactoring; software quality; identifier;

    机译:重命名重构;软件质量;标识符;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号