DocumentCode :
2866159
Title :
An empirical study on requirements traceability using eye-tracking
Author :
Ali, Nawazish ; Sharafl, Z. ; Gueheneuc, Y. ; Antoniol, Giuliano
Author_Institution :
DGIGL, Ecole Polytech. de Montreal, Montreal, QC, Canada
fYear :
2012
fDate :
23-28 Sept. 2012
Firstpage :
191
Lastpage :
200
Abstract :
Requirements traceability (RT) links help developers to understand programs and ensure that their source code is consistent with its documentation. Creating RT links is a laborious and resource-consuming task. Information Retrieval (IR) techniques are useful to automatically recover traceability links. However, IR-based approaches typically have low accuracy (precision and recall) and, thus, creating RT links remains a human intensive process. We conjecture that understanding how developers verify RT links could help improve the accuracy of IR-based approaches to recover RT links. Consequently, we perform an empirical study consisting of two controlled experiments. First, we use an eye-tracking system to capture developers´ eye movements while they verify RT links. We analyse the obtained data to identify and rank developers´ preferred source code entities (SCEs), e.g., class names, method names. Second, we use the ranked SCEs to propose two new weighting schemes called SE/IDF (source code entity/inverse document frequency) and DOI/IDF (domain or implementation/inverse document frequency) to recover RT links combined with an IR technique. SE/IDF is based on the developers preferred SCEs to verify RT links. DOI/IDF is an extension of SE/IDF distinguishing domain and implementation concepts. We use LSI combined with SE/IDF, DOI/IDF, and TF/IDF to show, using two systems, iTrust and Pooka, that LSIDOI/IDF statistically improves the accuracy of the recovered RT links over LSITF/IDF.
Keywords :
formal verification; information retrieval; program diagnostics; statistical analysis; DOI/IDF scheme; IR-based approach accuracy improvement; IR-based approaches; LSIDOI/IDF; Pooka system; SCE; SE/IDF scheme; TF/IDF; automatic requirements traceability link recovery; class names; data analysis; domain concepts; domain-or-implementation/inverse document frequency; empirical study; eye-tracking system; iTrust system; implementation concepts; information retrieval techniques; method names; precision value; recall value; requirements traceability; source code entity identification; source code entity ranking; source code entity/inverse document frequency scheme; statistical analysis; weighting schemes; Accuracy; Conferences; Information retrieval; Java; Large scale integration; Software maintenance; Visualization; LDA; LSI; Requirements traceability; eye tracking; source code;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance (ICSM), 2012 28th IEEE International Conference on
Conference_Location :
Trento
ISSN :
1063-6773
Print_ISBN :
978-1-4673-2313-0
Type :
conf
DOI :
10.1109/ICSM.2012.6405271
Filename :
6405271
Link To Document :
بازگشت