Establishing Multilevel Test-to-Code Traceability Links

被引:19
|
作者
White, Robert [1 ]
Krinke, Jens [1 ]
Tan, Raymond [1 ]
机构
[1] UCL, London, England
关键词
CONTINUOUS INTEGRATION; CHALLENGES; DEPLOYMENT; DELIVERY;
D O I
10.1145/3377811.3380921
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Test-to-code traceability links model the relationships between test artefacts and code artefacts. When utilised during the development process, these links help developers to keep test code in sync with tested code, reducing the rate of test failures and missed faults. Test-to-code traceability links can also help developers to maintain an accurate mental model of the system, reducing the risk of architectural degradation when making changes. However, establishing and maintaining these links manually places an extra burden on developers and is error-prone. This paper presents TCtracer, an approach and implementation for the automatic establishment of test-to-code traceability links. Unlike existing work, TCtracer operates at both the method level and the class level, allowing us to establish links between tests and functions, as well as between test classes and tested classes. We improve over existing techniques by combining an ensemble of new and existing techniques and exploiting a synergistic flow of information between the method and class levels. An evaluation of TCtracer using four large, well-studied open source systems demonstrates that, on average, we can establish test-to-function links with a mean average precision (MAP) of 78% and test-class-to-class links with an MAP of 93%.
引用
收藏
页码:861 / 872
页数:12
相关论文
共 50 条
  • [1] TCTracer: Establishing test-to-code traceability links using dynamic and static techniques
    White, Robert
    Krinke, Jens
    EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (03)
  • [2] TCTracer: Establishing test-to-code traceability links using dynamic and static techniques
    Robert White
    Jens Krinke
    Empirical Software Engineering, 2022, 27
  • [3] Understanding Test-to-Code Traceability Links: The Need for a Better Visualizing Model
    Aljawabrah, Nadera
    Gergely, Tamas
    Kharabsheh, Mohammad
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS, ICCSA 2019, PT IV, 2019, 11622 : 428 - 441
  • [4] Automated Recovery and Visualization of Test-to-Code Traceability (TCT) Links: An Evaluation
    Aljawabrah, Nadera
    Gergely, Tamas
    Misra, Sanjay
    Fernandez-Sanz, Luis
    IEEE ACCESS, 2021, 9 : 40111 - 40123
  • [5] Test-to-Code Traceability: Why and How?
    Qusef, Abdallah
    2013 IEEE JORDAN CONFERENCE ON APPLIED ELECTRICAL ENGINEERING AND COMPUTING TECHNOLOGIES (AEECT), 2013,
  • [6] Comparing spectrum based fault localisation against test-to-code traceability links
    Laghari, Gulsher
    Dahri, Kamran
    Demeyer, Serge
    2018 INTERNATIONAL CONFERENCE ON FRONTIERS OF INFORMATION TECHNOLOGY (FIT 2018), 2018, : 152 - 157
  • [7] Analysis of Static and Dynamic Test-to-code Traceability Information
    Gergely, Tamas
    Balogh, Gergo
    Horvath, Ferenc
    Vancsics, Bela
    Beszedes, Arpad
    Gyimothy, Tibor
    ACTA CYBERNETICA, 2018, 23 (03): : 903 - 919
  • [8] Exploring the Benefits of Utilizing Conceptual Information in Test-to-Code Traceability
    Kicsi, Andras
    Toth, Laszlo
    Vidacs, Laszlo
    2018 IEEE/ACM 6TH INTERNATIONAL WORKSHOP ON REALIZING ARTIFICIAL INTELLIGENCE SYNERGIES IN SOFTWARE ENGINEERING (RAISE), 2018, : 8 - 14
  • [9] Recovering test-to-code traceability using slicing and textual analysis
    Qusef, Abdallah
    Bavota, Gabriele
    Oliveto, Rocco
    De Lucia, Andrea
    Binkley, Dave
    JOURNAL OF SYSTEMS AND SOFTWARE, 2014, 88 : 147 - 168
  • [10] Source Code Level Word Embeddings in Aiding Semantic Test-to-Code Traceability
    Csuvik, Viktor
    Kicsi, Andras
    Vidacs, Laszlo
    2019 IEEE/ACM 10TH INTERNATIONAL WORKSHOP ON SOFTWARE AND SYSTEMS TRACEABILITY (SST 2019), 2019, : 29 - 36