Issue No.05 - May (2013 vol.39)
Nasir Ali , École Polytechnique de Montréal, Montréal
Yann-Gaël Guéhéneuc , École Polytechnique de Montréal, Montréal
Giuliano Antoniol , École Polytechnique de Montréal, Montréal
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TSE.2012.71
Traceability is the only means to ensure that the source code of a system is consistent with its requirements and that all and only the specified requirements have been implemented by developers. During software maintenance and evolution, requirement traceability links become obsolete because developers do not/cannot devote effort to updating them. Yet, recovering these traceability links later is a daunting and costly task for developers. Consequently, the literature has proposed methods, techniques, and tools to recover these traceability links semi-automatically or automatically. Among the proposed techniques, the literature showed that information retrieval (IR) techniques can automatically recover traceability links between free-text requirements and source code. However, IR techniques lack accuracy (precision and recall). In this paper, we show that mining software repositories and combining mined results with IR techniques can improve the accuracy (precision and recall) of IR techniques and we propose Trustrace, a trust--based traceability recovery approach. We apply Trustrace on four medium-size open-source systems to compare the accuracy of its traceability links with those recovered using state-of-the-art IR techniques from the literature, based on the Vector Space Model and Jensen-Shannon model. The results of Trustrace are up to 22.7 percent more precise and have 7.66 percent better recall values than those of the other techniques, on average. We thus show that mining software repositories and combining the mined data with existing results from IR techniques improves the precision and recall of requirement traceability links.
Accuracy, Data mining, Software maintenance, Information retrieval, Open source software, Principal component analysis, trust-based model, Traceability, requirements, feature, source code, repositories, experts
Nasir Ali, Yann-Gaël Guéhéneuc, Giuliano Antoniol, "Trustrace: Mining Software Repositories to Improve the Accuracy of Requirement Traceability Links", IEEE Transactions on Software Engineering, vol.39, no. 5, pp. 725-741, May 2013, doi:10.1109/TSE.2012.71