Recovering traceability links between requirements and source code in the same series of software products

  • Authors:
  • Ryosuke Tsuchiya;Tadahisa Kato;Hironori Washizaki;Masumi Kawakami;Yoshiaki Fukazawa;Kentaro Yoshimura

  • Affiliations:
  • Waseda University, Tokyo, Japan;Yokohama Research Laboratory, Hitachi, Ltd., Kanagawa, Japan;Waseda University, Tokyo, Japan;Yokohama Research Laboratory, Hitachi, Ltd., Kanagawa, Japan;Waseda University, Tokyo, Japan;Yokohama Research Laboratory, Hitachi, Ltd., Kanagawa, Japan

  • Venue:
  • Proceedings of the 17th International Software Product Line Conference
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

If traceability links between requirements and source code are not clarified when conducting maintenance and enhancements for the same series of software products, engineers cannot immediately find the correction location in the source code for requirement changes. However, manually recovering links in a large group of products requires significant costs and some links may be overlooked. Here, we propose a semi-automatic method to recover traceability links between requirements and source code in the same series of large software products. In order to support differences in representation between requirements and source code, we recover links by using the configuration management log as an intermediary. We refine the links by classifying requirements and code elements in terms of whether they are common or specific to the products. As a result of applying our method to real products that have 60KLOC, we have recovered valid traceability links within a reasonable amount of time. Automatic parts have taken 13 minutes 36 seconds, and non-automatic parts have taken about 3 hours, with a recall of 76.2% and a precision of 94.1%. Moreover, we recovered some links that were unknown to engineers. By recovering traceability links, software reusability will be improved, and software product line introduction will be facilitated.