首页> 外文会议>14th European Conference on Software Maintenance and Reengineering >Exploring the Influence of Identifier Names on Code Quality: An Empirical Study
【24h】

Exploring the Influence of Identifier Names on Code Quality: An Empirical Study

机译:探索标识符名称对代码质量的影响:实证研究

获取原文

摘要

Given the importance of identifier names and the value of naming conventions to program comprehension, we speculated in previous work whether a connection exists between the quality of identifier names and software quality. We found that flawed identifiers in Java classes were associated with source code found to be of low quality by static analysis. This paper extends that work in three directions. First, we show that the association also holds at the finer granularity level of Java methods. This in turn makes it possible to, secondly, apply existing method-level quality and readability metrics, and see that flawed identifiers still impact on this richer notion of code quality and comprehension. Third, we check whether the association can be used in a practical way. We adopt techniques used to evaluate medical diagnostic tests in order to identify which particular identifier naming flaws could be used as a light-weight diagnostic of potentially problematic Java source code for maintenance.
机译:考虑到标识符名称的重要性和命名约定对程序理解的价值,我们在以前的工作中推测标识符名称的质量与软件质量之间是否存在联系。我们发现Java类中有缺陷的标识符与通过静态分析发现质量低劣的源代码相关联。本文从三个方向扩展了这项工作。首先,我们证明该关联也保持在Java方法的更细粒度级别上。其次,这使得可以应用现有的方法级质量和可读性度量标准,并看到有缺陷的标识符仍会影响这种更丰富的代码质量和理解力概念。第三,我们检查该关联是否可以实际使用。我们采用用于评估医学诊断测试的技术,以识别哪些特定的标识符命名缺陷可以用作对可能存在问题的Java源代码进行维护的轻量级诊断。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号