期刊文献+

基于版本控制的中文文档到源代码的自动跟踪方法 被引量:2

Automatic tracing method from Chinese document to source code based on version control
下载PDF
导出
摘要 软件文档和源代码之间的可追踪性研究广泛使用了信息检索(IR)技术,但由于中文文档和源代码用不同的语言书写,使用传统IR技术进行自动跟踪时会导致精度不高。针对上述问题,提出一种基于版本控制的中文文档到源代码的自动跟踪方法。首先,结合文本到源代码的启发式规则,采用IR方法计算出文本和源代码之间的相似度得分;然后,使用软件开发和维护过程中提交到版本控制软件的更新信息来修正该分数;最后,根据设定的阈值确定中文文档与源代码之间的跟踪关系。实验结果表明,改进方法的精确度和召回率相比传统IR方法均有一定的提高,并且该方法能提取出传统IR方法中遗漏的跟踪关系。 Information Retrieval(IR)technology is widely used in automatic tracing from software documents to source codes,but Chinese document and source code are written in different languages,which leads to low accuracy of automatic tracing by using IR.In view of the above problems,an automatic tracing method of Chinese document to source code based on version control was proposed.Firstly,the similarity score between the documents and the source code was calculated by information retrieval method combined with text-to-source heuristic rules.Then the score was modified by the version update information which was submitted to the version control software during software development and maintenance.Finally,the tracing relationship between the Chinese document and source code was determined according to the set threshold.The experimental results show that the precision and recall of the proposed method have a certain improvement compared with the traditional IR method,and the tracing relationship missed in the traditional IR method can be extracted.
作者 沈力 刘洪星 李勇华 SHEN Li;LIU Hongxing;LI Yonghua(College of Computer Science and Technology,Wuhan University of Technology,Wuhan Hubei 430063,China;Hubei Key Laboratory of Transportation Internet of Things,Wuhan University of Technology,Wuhan Hubei 430070,China)
出处 《计算机应用》 CSCD 北大核心 2018年第10期2996-3001,共6页 journal of Computer Applications
基金 中央高校基本科研业务费专项资金资助项目(2016III028)~~
关键词 可追踪性 版本控制 自动跟踪 信息检索 软件工程 traceability version control automatic tracing Information Retrieval(IR) software engineering
  • 相关文献

同被引文献16

引证文献2

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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