首页> 外文会议>European Conference on Software Maintenance and Reengineering >Using fuzzy code search to link code fragments in discussions to source code
【24h】

Using fuzzy code search to link code fragments in discussions to source code

机译:使用模糊代码搜索将讨论中的代码片段链接到源代码

获取原文

摘要

When discussing software, practitioners often reference parts of the project's source code. Such references have different motivations, such as mentoring and guiding less experienced developers, pointing out code that needs changes, or proposing possible strategies for the implementation of future changes. The fact that particular parts of a source code are being discussed makes these parts of the software special. Knowing which code is being talked about the most can not only help practitioners to guide important software engineering and maintenance activities, but also act as a high-level documentation of development activities for managers. In this paper, we use clone- detection as specific instance of a code search based approach for establishing links between code fragments that are discussed by developers and the actual source code of a project. Through a case study on the Eclipse project we explore the traceability links established through this approach, both quantitatively and qualitatively, and compare fuzzy code search based traceability linking to classical approaches, in particular change log analysis and information retrieval. We demonstrate a sample application of code search based traceability links by visualizing those parts of the project that are most discussed in issue reports with a Treemap visualization. The results of our case study show that the traceability links established through fuzzy code search- based traceability linking are conceptually different than classical approaches based on change log analysis or information retrieval.
机译:讨论软件时,从业者通常会参考项目源代码的部分。此类引用具有不同的动机,例如指导和指导不太经验丰富的开发人员,指出需要更改的代码,或提出实施未来变化的可能策略。正在讨论源代码的特定部分的事实使得软件的这些部分特殊。了解最多的谈论哪个代码不能只帮助从业者指导重要的软件工程和维护活动,而且还充当管理者的发展活动的高级文件。在本文中,我们使用克隆检测作为基于代码搜索方法的特定实例,用于在开发人员和项目的实际源代码和项目的实际源代码之间建立代码片段之间的链接。通过对Eclipse项目的案例研究,我们探讨通过这种方法建立的可追溯性链接,既定量和定性,并比较基于模糊的基于码搜索链接到经典方法,特别是更改日志分析和信息检索。我们通过可视化具有Treemap可视化的问题报告中大多数讨论的项目的这些部分来展示代码搜索基于可追溯性链接的示例应用。我们的案例研究结果表明,通过模糊代码搜索的可追溯性链接基于模糊代码的可追溯性链接概念性地与基于更改日志分析或信息检索的经典方法不同。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利