需求跟踪为软件工程提供有力的支持,然而人工建立需求跟踪关系费时费力,存在着成本过高,难以维护等问题。动态需求跟踪运用信息检索等技术,自动化建立需求文档和工作产品的跟踪关系,但在跟踪精度等方面仍然存在问题。在现有的动态需求跟踪方法基础之上,分析了需求动态跟踪精度问题产生的原因,提出了使用代码注释辅助动态需求跟踪的方法,改进了需求动态跟踪工具,并通过实验验证了方法对于动态需求跟踪效果的改进。
Requirement traceability provides powerful support for software engineering activities. However, establishing traces by manual is a high cost job, and hard to maintain. Dynamic requirement traceability indentifies traceability automatically by using technologies such as information retrieval, but still has problems with its precision. Based on the analysis of precision problem, a method using code comments to help with establishing traceability links is proposed, an exiting requirement dynamic trace tool is improved. The result of test shows that the performance of dynamic requirement traceability is enhanced.