DocumentCode
1900781
Title
Code patterns for automatically validating requirements-to-code traces
Author
Ghabi, A. ; Egyed, Alexander
Author_Institution
Johannes Kepler Univ., Linz, Austria
fYear
2012
fDate
3-7 Sept. 2012
Firstpage
200
Lastpage
209
Abstract
Traces between requirements and code reveal where requirements are implemented. Such traces are essential for code understanding and change management. Unfortunately, traces are known to be error prone. This paper introduces a novel approach for validating requirements-to-code traces through calling relationships within the code. As input, the approach requires an executable system, the corresponding requirements, and the requirements-to-code traces that need validating. As output, the approach identifies likely incorrect or missing traces by investigating patterns of traces with calling relationships. The empirical evaluation of four case study systems covering 150 KLOC and 59 requirements demonstrates that the approach detects most errors with 85-95% precision and 82-96% recall and is able to handle traces of varying levels of correctness and completeness. The approach is fully automated, tool supported, and scalable.
Keywords
program verification; reverse engineering; calling relationships; change management; code patterns; code understanding; requirements-to-code trace automatic validation; feature location; requirements; traceability; validation;
fLanguage
English
Publisher
ieee
Conference_Titel
Automated Software Engineering (ASE), 2012 Proceedings of the 27th IEEE/ACM International Conference on
Conference_Location
Essen
Print_ISBN
978-1-4503-1204-2
Type
conf
DOI
10.1145/2351676.2351705
Filename
6494919
Link To Document