Search-Based Requirements Traceability Recovery
Search-Based Requirements Traceability Recovery
复制标题
基于搜索的需求可追溯性恢复
DOI:
--
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
H. Ammar
中科院分区:
文献类型:
--
作者:
Adnane Ghannem;M. Hamdi;Marouane Kessentini;H. Ammar
Several software maintenance tasks, such as regression testing, require that the requirements traceability should be up-to-date. Generating requirements traceability consumes a lot of time and is error-prone. Currently most available tools do not offer the automated recovery of traceability links. In the approach presented in this paper, we formulate requirements traceability recovery as a search problem using Genetic Algorithms. Our approach takes as input the software system and a requirement set and produces a set of traces between the classes of the system and the requirements introduced in the input as output. A solution consists of assigning each requirement to one or many classes of the system that should maximize as much as possible the textual similarity between the description of the requirements and the name of code elements, API documentation, and comments. The validation results on three different open source projects show that our approach is effective in correctly generating the traces between the requirements and classes in the source code with a precision of 86% and a recall of 83%, both on average.