首页> 外文会议>IEEE International Conference on Software Maintenance >On the Relationship between the Vocabulary of Bug Reports and Source Code
【24h】

On the Relationship between the Vocabulary of Bug Reports and Source Code

机译:关于错误报告和源代码词汇关系的关系

获取原文

摘要

Text retrieval (TR) techniques have been widely used to support concept and bug location. When locating bugs, developers often formulate queries based on the bug descriptions. More than that, a large body of research uses bug descriptions to evaluate bug location techniques using TR. The implicit assumption is that the bug descriptions and the relevant source code files share important words. In this paper, we present an empirical study that explores this conjecture. We found that bug reports share more terms with the patched classes than with the other classes in the system. Furthermore, we found that the class names are more likely to share terms with the bug descriptions than other code locations, while more verbose parts of the code (e.g., comments) will share more words. We also found that the shared terms may be better predictors for bug location than some TR techniques.
机译:文本检索(TR)技术已被广泛用于支持概念和错误位置。在定位错误时,开发人员通常会根据错误描述制定查询。超过这一点,大量研究使用错误描述来评估使用TR的错误定位技术。隐式假设是错误描述和相关源代码文件共享重要的单词。在本文中,我们展示了一个探索这种猜想的实证研究。我们发现错误报告与修补的类共享更多术语,而不是系统中的其他类。此外,我们发现类名更有可能与错误描述共享术语,而不是其他代码位置,而代码的更详细部分(例如,评论)将共享更多单词。我们还发现共享术语可能是Bug位置的更好预测因子,而不是一些TR技术。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号