期刊文献+

一种代码和中文文档关联信息的自动提取方法 被引量:3

A METHOD OF TRACING LINKS BETWEEN CODE AND CHINESE DOCUMENTATION
下载PDF
导出
摘要 维护代码和对应的文档的关联在软件维护、程序理解、需求跟踪等软件工程活动中有重要的意义。维护这些关联其关键在于提取关联信息,提出了一种利用信息检索技术自动提取程序源代码和中文文档关联信息的方法。首先通过提取文档中的词汇建立文档的语言概率模型,在此基础上用由代码信息组成的检索项检索文档集,由此得到代码和文档的相关列表和关联矩阵。测试结果表明在提取项大于5时即可获得95%以上的关联。 Tracing and maintaining links between free text documents in Chinese and its source code plays important role in software engineering. A new method based on Information Retrieval(IR) to do this work automatically is proposed. First of all, a stochastic language model is built which assigns a probability to every query string of words taken from all of the documents;then for each source code file, a list of documents ranked according to the probability of relevance are generated. Based on these, a relevance matrix linking each source code file to the documents could be got. Experiments shows that above 95 percent of the links could be traced when we only take the top 5 documents from the ranked list.
出处 《计算机应用与软件》 CSCD 北大核心 2005年第9期48-49,110,共3页 Computer Applications and Software
  • 相关文献

参考文献5

  • 1T. Biggerstaff, " Design Recovery for Maintenance and Reuse", IEEE Computer,July 1989.
  • 2T. Biggerstaff, B. Mitbander and D. Webster, "The Concept Assignment Problem in Program Understanding", Proc. Int'J Conf. Software Engineering, May 1993, pp. 482 - 498.
  • 3D. Harman, " Ranking Algorithms", Information Retrieval: Data Structures and Algorithms, 1992 ,pp. 363 - 392.
  • 4G. Antoniol, G. Canfora, G. Casazza, A. Delucia and E. Merlo, "Tracing Object-Oriented Cede into Functional Requirements", Proc. Eighth Int'J Workshop Program Comprehension, June 2000, pp. 227 - 230.
  • 5G. Antoniol, G. Canfora, G. Casazza and A. Delucia, "Recovering Traceability Links between Code and Documentation", IEEE Transactions on Software Engineering, Vol. 28, No. 10, Oct. 2002, pp. 970 - 983.

同被引文献15

  • 1居斌.潜在语义标引在中文信息检索中的研究与实现[J].计算机工程,2007,33(5):193-196. 被引量:16
  • 2Antoniol G,Caprile B,Potrich A,et al.Design-code traceability for object oriented systems[J]. Annals of Software Engineering, 2000,9:35-38.
  • 3Antoniol G,Canfora G,Casazza G,et al.Recovering traceability links between code and documentation[J]. IEEE Transactions on Software Engineering,2002,28(10):970-983.
  • 4Hayes J H, Dekhtyar A, Osbourne J. Improving requirements tracing via information retrieval[C].Proceedings of 11 th International Requirements Engineering Conference, 2003:200-210.
  • 5Hayes J H, Dekhtyar A, Sundaram S K, et al. Helping analysts trace requirements: an objective look[C]. Proceedings of 12th International Requirements Engineering Conference,2004:249-259.
  • 6Cleland-Huang J,Settimi R, Duan Chuan,et al.Utilizing supporting evidence to improve dynamic requirements traceability[C]. Proceedings of the 13th IEEE International Requirements Engineering C onference,2005:135-144.
  • 7Maletic A M,Maletic J I.Recovering documentation-to-sourcecode traceability links using latent semantic indexing [C]. Proceedings 25th International Conference Software Engineering, 2003:125-135.
  • 8Lucia A D,Fasano F, Oliveto R,et al.Can information retrieval techniques effectively support traceability link recovery? [C]. 14th IEEE International Conference on Program Comprehension,2006:307-316.
  • 9J.Cleland-Huang, G. Zemont, W.Lukasik. A Heterogeneous Solution for Improving the Return on Investment of Requirements Traceability [C]. International Conference on Requirements Engineering. Japan, 2004:230-239.
  • 10Huffman Hayes, A.Dekhtyar, and J.Osborne. Improving Requirements Tracing via Information Retrieval[C]. IEEE International Requirements Engineering Conference,Montererey, CA 2003:138-150.

引证文献3

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部