首页> 外文会议>Software Engineering, 2009. ICSE 2009 >Automatically capturing source code context of NL-queries for software maintenance and reuse
【24h】

Automatically capturing source code context of NL-queries for software maintenance and reuse

机译:自动捕获NL查询的源代码上下文以进行软件维护和重用

获取原文

摘要

As software systems continue to grow and evolve, locating code for maintenance and reuse tasks becomes increasingly difficult. Existing static code search techniques using natural language queries provide little support to help developers determine whether search results are relevant, and few recommend alternative words to help developers reformulate poor queries. In this paper, we present a novel approach that automatically extracts natural language phrases from source code identifiers and categorizes the phrases and search results in a hierarchy. Our contextual search approach allows developers to explore the word usage in a piece of software, helping them to quickly identify relevant program elements for investigation or to quickly recognize alternative words for query reformulation. An empirical evaluation of 22 developers reveals that our contextual search approach significantly outperforms the most closely related technique in terms of effort and effectiveness.
机译:随着软件系统的不断发展和发展,为维护和重用任务定位代码变得越来越困难。现有的使用自然语言查询的静态代码搜索技术几乎无法提供任何支持来帮助开发人员确定搜索结果是否相关,并且很少有人推荐使用替代词来帮助开发人员重新编写不良查询。在本文中,我们提出了一种新颖的方法,该方法可自动从源代码标识符中提取自然语言短语,并将短语和搜索结果归类。我们的上下文搜索方法使开发人员可以探索软件中的单词用法,从而帮助他们快速识别相关程序元素以进行调查,或者快速识别替代单词以进行查询重构。对22位开发人员的经验评估表明,就工作量和有效性而言,我们的上下文搜索方法明显优于最紧密相关的技术。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号