Estimating the number of remaining links in traceability recovery

被引:26
作者
Falessi, Davide [1 ]
Di Penta, Massimiliano [2 ]
Canfora, Gerardo [2 ]
Cantone, Giovanni [3 ]
机构
[1] Calif Polytech State Univ San Luis Obispo, Dept Comp Sci, San Luis Obispo, CA 93407 USA
[2] Univ Sannio, Dept Engn, Benevento, BN, Italy
[3] Univ Roma Tor Vergata, Dept Civil Engn & Comp Sci, DICII, Rome, Italy
关键词
Information retrieval; Traceability link recovery; Metrics and measurement; CAPTURE-RECAPTURE; REQUIREMENTS; CODE;
D O I
10.1007/s10664-016-9460-6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Although very important in software engineering, establishing traceability links between software artifacts is extremely tedious, error-prone, and it requires significant effort. Even when approaches for automated traceability recovery exist, these provide the requirements analyst with a, usually very long, ranked list of candidate links that needs to be manually inspected. In this paper we introduce an approach called Estimation of the Number of Remaining Links (ENRL) which aims at estimating, via Machine Learning (ML) classifiers, the number of remaining positive links in a ranked list of candidate traceability links produced by a Natural Language Processing techniques-based recovery approach. We have evaluated the accuracy of the ENRL approach by considering several ML classifiers and NLP techniques on three datasets from industry and academia, and concerning traceability links among different kinds of software artifacts including requirements, use cases, design documents, source code, and test cases. Results from our study indicate that: (i) specific estimation models are able to provide accurate estimates of the number of remaining positive links; (ii) the estimation accuracy depends on the choice of the NLP technique, and (iii) univariate estimation models outperform multivariate ones.
引用
收藏
页码:996 / 1027
页数:32
相关论文
共 70 条
[1]   A traceability technique for specifications [J].
Abadi, Aharcin ;
Nisenson, Mordechai ;
Simionovici, Yahalomit .
PROCEEDINGS OF THE 16TH IEEE INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, 2008, :103-112
[2]   AN INTRODUCTION TO KERNEL AND NEAREST-NEIGHBOR NONPARAMETRIC REGRESSION [J].
ALTMAN, NS .
AMERICAN STATISTICIAN, 1992, 46 (03) :175-185
[3]  
[Anonymous], 200908 SIM RES LAB
[4]   Recovering traceability links between code and documentation [J].
Antoniol, G ;
Canfora, G ;
Casazza, G ;
De Lucia, A ;
Merlo, E .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (10) :970-983
[5]  
Antoniol G., 2000, Proceedings of the Fourth European Conference on Software Maintenance and Reengineering, P227, DOI 10.1109/CSMR.2000.827331
[6]  
Asuncion H.U., 2010, P 32 INT C SOFTW ENG, P95
[7]  
Athanasiadis IN, 2007, STUD COMP INTELL, V67, P175
[8]  
Baeza-Yates R., 1999, Modern Information Retrieval
[9]   On the trend of remaining software defect estimation [J].
Bai, Cheng-Gang ;
Cai, Kai-Yuan ;
Hu, Qing-Pei ;
Ng, Szu-Hui .
IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART A-SYSTEMS AND HUMANS, 2008, 38 (05) :1129-1142
[10]  
BAKER R.D., 1995, Modern permutation test software