Trustrace: Mining Software Repositories to Improve the Accuracy of Requirement Traceability Links

被引:66
|
作者
Ali, Nasir [1 ]
Gueheneuc, Yann-Gael [1 ]
Antoniol, Giuliano [1 ]
机构
[1] Ecole Polytech, Dept Genie Informat & Genie Logiciel, Montreal, PQ H3C 3A7, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Traceability; requirements; feature; source code; repositories; experts; trust-based model; CODE;
D O I
10.1109/TSE.2012.71
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Traceability is the only means to ensure that the source code of a system is consistent with its requirements and that all and only the specified requirements have been implemented by developers. During software maintenance and evolution, requirement traceability links become obsolete because developers do not/cannot devote effort to updating them. Yet, recovering these traceability links later is a daunting and costly task for developers. Consequently, the literature has proposed methods, techniques, and tools to recover these traceability links semi-automatically or automatically. Among the proposed techniques, the literature showed that information retrieval (IR) techniques can automatically recover traceability links between free-text requirements and source code. However, IR techniques lack accuracy (precision and recall). In this paper, we show that mining software repositories and combining mined results with IR techniques can improve the accuracy (precision and recall) of IR techniques and we propose Trustrace, a trust-based traceability recovery approach. We apply Trustrace on four medium-size open-source systems to compare the accuracy of its traceability links with those recovered using state-of-the-art IR techniques from the literature, based on the Vector Space Model and Jensen-Shannon model. The results of Trustrace are up to 22.7 percent more precise and have 7.66 percent better recall values than those of the other techniques, on average. We thus show that mining software repositories and combining the mined data with existing results from IR techniques improves the precision and recall of requirement traceability links.
引用
收藏
页码:725 / 741
页数:17
相关论文
共 50 条
  • [31] Mining expertise of developers from software repositories
    Hammad, Maen
    Hijazi, Haneen
    Hammad, Mustafa
    Otoom, Ahmed Fawzi
    INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2020, 62 (03) : 227 - 239
  • [32] Introduction to the special issue on mining software repositories
    Xie, Tao
    Zimmermann, Thomas
    van Deursen, Arie
    EMPIRICAL SOFTWARE ENGINEERING, 2013, 18 (06) : 1043 - 1046
  • [33] Guest editorial: Mining software repositories 2018
    Kamei, Yasutaka
    Zaidman, Andy
    EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (03) : 2055 - 2057
  • [34] Guest editorial: Mining software repositories 2018
    Yasutaka Kamei
    Andy Zaidman
    Empirical Software Engineering, 2020, 25 : 2055 - 2057
  • [35] Mining software repositories for comprehensible software fault prediction models
    Vandecruys, Olivier
    Martens, David
    Baesens, Bart
    Mues, Christophe
    De Backer, Manu
    Haesen, Raf
    JOURNAL OF SYSTEMS AND SOFTWARE, 2008, 81 (05) : 823 - 839
  • [36] Mining Software Repositories to Identify Library Experts
    Santos, Adriano
    Souza, Mauricio
    Oliveira, Johnatan
    Figueiredo, Eduardo
    XII BRAZILIAN SYMPOSIUM ON SOFTWARE COMPONENTS, ARCHITECTURES, AND REUSE (SBCARS), 2018, : 83 - 91
  • [37] Mining Software Repositories with a Collaborative Heuristic Repository
    Babii, Hlib
    Prenner, Julian Aron
    Stricker, Laurin
    Karmakar, Anjan
    Janes, Andrea
    Robbes, Romain
    2021 ACM/IEEE 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: NEW IDEAS AND EMERGING RESULTS (ICSE-NIER 2021), 2021, : 106 - 110
  • [38] MetricMiner: Supporting Researchers in Mining Software Repositories
    Sokol, Francisco Zigmund
    Aniche, Mauricio Finavaro
    Gerosa, Marco Aurelio
    2013 IEEE 13TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2013, : 142 - 146
  • [39] Mining Software Repositories for Automatic Interface Recommendation
    Sun, Xiaobing
    Li, Bin
    Duan, Yucong
    Shi, Wei
    Liu, Xiangyue
    SCIENTIFIC PROGRAMMING, 2016, 2016
  • [40] Research on mining software repositories to facilitate refactoring
    Nyamawe, Ally S.
    WILEY INTERDISCIPLINARY REVIEWS-DATA MINING AND KNOWLEDGE DISCOVERY, 2023, 13 (05)