Using natural language program analysis to locate and understand action-oriented concerns

Using natural language program analysis to locate and understand action-oriented concerns
复制标题

DOI:
10.1145/1218563.1218587
复制
发表时间:
2007-03
期刊:
--
影响因子:
--
通讯作者:
D. Shepherd;Zachary P. Fry;Emily Hill;L. Pollock;K. Vijay-Shanker
D. Shepherd;Zachary P. Fry;Emily Hill;L. Pollock;K. Vijay-Shanker
中科院分区:
其他
文献类型:
--
作者:
D. Shepherd;Zachary P. Fry;Emily Hill;L. Pollock;K. Vijay-Shanker

文献摘要

被引文献

相似文献

大多数当前的软件系统都包含跨多个文件和模块实现的未记录的高级想法。当开发人员执行程序维护任务时,他们经常浪费时间和精力来定位和理解这些分散的关注点。我们开发了一种半自动化的关注点定位和理解工具 Find-Concept,旨在减少开发人员在维护任务上花费的时间,并增强他们对这些任务结果的信心。 Find-Concept 之所以有效,是因为它搜索源代码的独特的基于自然语言的表示形式,使用新颖的技术将初始查询扩展为更有效的查询,并以易于理解的格式显示搜索结果。我们描述了 Find-Concept 工具、底层程序分析,以及一项将 Find-Concept 的搜索有效性与两种最先进的基于词汇和信息检索的搜索工具进行比较的实验研究。在源自开源错误报告的九个面向行动的关注点定位任务中,我们基于 Eclipse 的工具比具有类似用户工作量的任何竞争搜索工具更一致地生成了更有效的查询。
Most current software systems contain undocumented high-level ideas implemented across multiple files and modules. When developers perform program maintenance tasks, they often waste time and effort locating and understanding these scattered concerns. We have developed a semi-automated concern location and comprehension tool, Find-Concept, designed to reduce the time developers spend on maintenance tasks and to increase their confidence in the results of these tasks. Find-Concept is effective because it searches a unique natural language-based representation of source code, uses novel techniques to expand initial queries into more effective queries, and displays search results in an easy-to-comprehend format. We describe the Find-Concept tool, the underlying program analysis, and an experimental study comparing Find-Concept's search effectiveness with two state-of-the-art lexical and information retrieval-based search tools. Across nine action-oriented concern location tasks derived from open source bug reports, our Eclipse-based tool produced more effective queries more consistently than either competing search tool with similar user effort.