Exploring a Bayesian and linear approach to requirements traceability

  • Authors:
  • Inah Omoronyia;Guttorm Sindre;Tor Stålhane

  • Affiliations:
  • Lero - The Irish Software Engineering Research Centre, University of Limerick, Ireland;Department of Computer and Information Science, NTNU, Trondheim, Norway;Department of Computer and Information Science, NTNU, Trondheim, Norway

  • Venue:
  • Information and Software Technology
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Context: For large software projects it is important to have some traceability between artefacts from different phases (e.g.requirements, designs, code), and between artefacts and the involved developers. However, if the capturing of traceability information during the project is felt as laborious to developers, they will often be sloppy in registering the relevant traceability links so that the information is incomplete. This makes automated tool-based collection of traceability links a tempting alternative, but this has the opposite challenge of generating too many potential trace relationships, not all of which are equally relevant. Objective: This paper evaluates how to rank such auto-generated trace relationships. Method: We present two approaches for such a ranking: a Bayesian technique and a linear inference technique. Both techniques depend on the interaction event trails left behind by collaborating developers while working within a development tool. Results: The outcome of a preliminary study suggest the advantage of the linear approach, we also explore the challenges and potentials of the two techniques. Conclusion: The advantage of the two techniques is that they can be used to provide traceability insights that are contextual and would have been much more difficult to capture manually. We also present some key lessons learnt during this research.