Localising Faults in Test Execution Traces

被引:10
|
作者
Laghari, Gulsher [1 ]
Murgia, Alessandro [1 ]
Demeyer, Serge [1 ]
机构
[1] Univ Antwerp, ANSYMO, Middelheimlaan 1, BE-2020 Antwerp, Belgium
关键词
Automated developer tests; spectrum based fault localisation; replication (different heuristic & same data);
D O I
10.1145/2804360.2804361
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
With the advent of agile processes and their emphasis on continuous integration, automated tests became the prominent driver of the development process. When one of the thousands of tests fails, the corresponding fault should be localised as quickly as possible as development can only proceed when the fault is repaired. In this paper we propose a heuristic named SPEQTRA which mines the execution traces of a series of passing and failing tests, to localise the class which contains the fault. SPEQTRA produces ranking of classes that indicates the likelihood of classes to be at fault. We compare our spectrum based fault localisation heuristic with the state of the art (AMPLE) and demonstrate on a small yet representative case (NanoXML) that the ranking of classes proposed by SPEQTRA is significantly better than the one of AMPLE.
引用
收藏
页码:1 / 8
页数:8
相关论文
共 50 条
  • [1] Encoding Test Cases using Execution Traces
    Al-Sharif, Ziad A.
    Abdalrahman, Wafa F.
    Jeffery, Clinton L.
    2021 12TH INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION SYSTEMS (ICICS), 2021, : 239 - 244
  • [2] Embedding and classifying test execution traces using neural networks
    Tsimpourlas, Foivos
    Rooijackers, Gwenyth
    Rajan, Ajitha
    Allamanis, Miltiadis
    IET SOFTWARE, 2022, 16 (03) : 301 - 316
  • [3] Whole execution traces
    Zhang, XY
    Gupta, R
    MICRO-37 2004: 37TH ANNUAL INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, PROCEEDINGS, 2004, : 105 - 116
  • [4] Test case generation based on mutations over user execution traces
    Ana C. R. Paiva
    André Restivo
    Sérgio Almeida
    Software Quality Journal, 2020, 28 : 1173 - 1186
  • [5] Test case generation based on mutations over user execution traces
    Paiva, Ana C. R.
    Restivo, Andre
    Almeida, Sergio
    SOFTWARE QUALITY JOURNAL, 2020, 28 (03) : 1173 - 1186
  • [6] Computable Execution Traces
    Thompson, Declan
    LOGIC, LANGUAGE, INFORMATION, AND COMPUTATION (WOLLIC 2021), 2021, 13038 : 235 - 251
  • [7] Discovering of Execution Patterns of Subprograms in Execution Traces
    Komorowski, Michal
    PHOTONICS APPLICATIONS IN ASTRONOMY, COMMUNICATIONS, INDUSTRY, AND HIGH-ENERGY PHYSICS EXPERIMENTS 2015, 2015, 9662
  • [8] Test blueprints - Exposing side effects in execution traces to support writing unit tests
    Lienhard, Adrian
    Girba, Tudor
    Greevy, Orla
    Nierstrasz, Oscar
    CSMR 2008: 12TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING: DEVELOPING EVOLVABLE SYSTEMS, 2008, : 83 - 92
  • [9] AbstractTrace: The Use of Execution Traces to Cluster, Classify, Prioritize, and Optimize a Bloated Test Suite
    Al-Sharif, Ziad A.
    Jeffery, Clinton L.
    APPLIED SCIENCES-BASEL, 2024, 14 (23):
  • [10] Stratified sampling of execution traces: Execution phases serving as strata
    Pirzadeh, Heidar
    Shanian, Sara
    Hamou-Lhadj, Abdelwahab
    Alawneh, Luay
    Shafiee, Arya
    SCIENCE OF COMPUTER PROGRAMMING, 2013, 78 (08) : 1099 - 1118