Traceability in the wild
Authors:
Open Access
- 27 May 2018
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 834-845
Abstract
Software and systems traceability is widely accepted as an essential element for supporting many software development tasks. Today's version control systems provide inbuilt features that allow developers to tag each commit with one or more issue ID, thereby providing the building blocks from which project-wide traceability can be established between feature requests, bug fixes, commits, source code, and specific developers. However, our analysis of six open source projects showed that on average only 60% of the commits were linked to specific issues. Without these fundamental links the entire set of project-wide links will be incomplete, and therefore not trustworthy. In this paper we address the fundamental problem of missing links between commits and issues. Our approach leverages a combination of process and text-related features characterizing issues and code changes to train a classifier to identify missing issue tags in commit messages, thereby generating the missing links. We conducted a series of experiments to evaluate our approach against six open source projects and showed that it was able to effectively recommend links for tagging issues at an average of 96% recall and 33% precision. In a related task for augmenting a set of existing trace links, the classifier returned precision at levels greater than 89% in all projects and recall of 50%.Keywords
Funding Information
- German Research Foundation (DFG) (MA 5030/3-1)
- EU EFRE (2015FE9033)
- National Science Foundation (NFS) (CNS-1649008, CCF-1647342)
- German Ministry of Education and Research (BMBF) (01IS14026A, 01IS16003B)
This publication has 45 references indexed in Scilit:
- A visual language for modeling and executing traceability queriesSoftware and Systems Modeling, 2012
- Information Retrieval Methods for Automated Traceability Recovery2011
- Evaluating defect prediction approaches: a benchmark and an extensive comparisonEmpirical Software Engineering, 2011
- Application of swarm techniques to requirements tracingRequirements Engineering, 2011
- The WEKA data mining softwareACM SIGKDD Explorations Newsletter, 2009
- Rule-based generation of requirements traceability relationsJournal of Systems and Software, 2004
- Locating features in source codeIEEE Transactions on Software Engineering, 2003
- Recovering traceability links between code and documentationIEEE Transactions on Software Engineering, 2002
- Toward reference models for requirements traceabilityIEEE Transactions on Software Engineering, 2001
- Measuring nominal scale agreement among many raters.Psychological Bulletin, 1971