...
首页> 外文期刊>IEEE Transactions on Software Engineering >Recovering traceability links between code and documentation
【24h】

Recovering traceability links between code and documentation

机译:恢复代码和文档之间的可追溯性链接

获取原文
获取原文并翻译 | 示例
           

摘要

Software system documentation is almost always expressed informally in natural language and free text. Examples include requirement specifications, design documents, manual pages, system development journals, error logs, and related maintenance reports. We propose a method based on information retrieval to recover traceability links between source code and free text documents. A premise of our work is that programmers use meaningful names for program items, such as functions, variables, types, classes, and methods. We believe that the application-domain knowledge that programmers process when writing the code is often captured by the mnemonics for identifiers; therefore, the analysis of these mnemonics can help to associate high-level concepts with program concepts and vice-versa. We apply both a probabilistic and a vector space information retrieval model in two case studies to trace C++ source code onto manual pages and Java code to functional requirements. We compare the results of applying the two models, discuss the benefits and limitations, and describe directions for improvements.
机译:软件系统文档几乎总是以自然语言和自由文本非正式地表达。示例包括需求规范,设计文档,手册页,系统开发日志,错误日志和相关维护报告。我们提出了一种基于信息检索的方法来恢复源代码和自由文本文档之间的可追溯性链接。我们工作的前提是程序员对程序项使用有意义的名称,例如函数,变量,类型,类和方法。我们认为,程序员在编写代码时处理的应用程序领域知识通常会被标识符的助记符捕获;因此,对这些助记符的分析可以帮助将高级概念与程序概念相关联,反之亦然。我们在两个案例研究中应用了概率和向量空间信息检索模型,以将C ++源代码跟踪到手册页上,并将Java代码跟踪到功能需求上。我们比较了应用这两种模型的结果,讨论了优点和局限性,并描述了改进的方向。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号