Loading [MathJax]/extensions/MathZoom.js
An Improved Approach to Traceability Recovery Based on Word Embeddings | IEEE Conference Publication | IEEE Xplore

An Improved Approach to Traceability Recovery Based on Word Embeddings


Abstract:

Software traceability recovery, which reconstructs links between software artifacts, has become more and more vital to maintaining a software life cycle with the increase...Show More

Abstract:

Software traceability recovery, which reconstructs links between software artifacts, has become more and more vital to maintaining a software life cycle with the increase of software scale and complexity of software architecture. However, existing approaches mainly rely on information retrieval (IR) techniques. These methods are not very efficient at complex software artifacts which are mixed with multilingual texts, code snippets and proper nouns. Moreover, it is hard to predict new traceability links with existing approaches when requirements are changed or software functions are added, since these methods have not made the most of the final ranked lists. In this paper, we propose a novel approach WELR, based on word embeddings and learning to rank to recover traceability links. We use word embeddings to calculate semantic similarities between software artifacts and bring in query expansion and a weighting strategy during calculation. Different from other work, we leverage learning to rank to build prediction models for traceability links. We conducted experiments on five public datasets and took account of traceability links among different kinds of software artifacts. The results show that our method outperforms the state-of-the-art method that works under the same conditions.
Date of Conference: 04-08 December 2017
Date Added to IEEE Xplore: 05 March 2018
ISBN Information:
Conference Location: Nanjing, China

I. Introduction

Traceability recovery is used to discover relationships between thousands of software artifacts to facilitate the efficient retrieval of relevant information in large-scale industrial projects [1]. Complete and accurate traceability links can ensure each related elements will be considered when changing requirements and ensure every requirement is implemented, therefore traceability recovery play important roles in software maintenance [1], bug localizations [11], [35], [36] and etc. Traditional methods of recovering traceability include building requirement traceability matrices (RTMs), building requirement traceability graphs. However, these methods are difficult to extend and error-prone with the evolution of software [2]. Hence, many researchers put forward approaches to solve this problem with information retrieval (IR) techniques, and these methods are mainly based on text retrieval, e.g. VSM [3]–[5], LSA [3]–[5]. As highlighted in [2], text analysis techniques are used to solve more and more problems in software engineering.

Contact IEEE to Subscribe

References

References is not available for this document.