Faster Mutation Analysis with Fewer Processes and Smaller Overheads

被引:5
作者
Wang, Bo [1 ,2 ,3 ]
Lu, Sirui [4 ,5 ]
Xiong, Yingfei [4 ,5 ]
Liu, Feng [1 ]
机构
[1] Beijing Jiaotong Univ, Sch Comp & Informat Technol, Beijing, Peoples R China
[2] Beijing Key Lab Traff Data Anal & Min, Beijing, Peoples R China
[3] CAAC Key Lab Intelligent Passenger Serv Civil Avi, Beijing, Peoples R China
[4] Peking Univ, Key Lab High Confidence Software Technol, MoE, Beijing, Peoples R China
[5] Peking Univ, Dept Comp Sci & Technol, EECS, Beijing, Peoples R China
来源
2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021 | 2021年
基金
中国国家自然科学基金;
关键词
software testing; dynamic analysis; mutation analysis; mutation testing; fork-based mutation analysis;
D O I
10.1109/ASE51524.2021.9678827
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mutation analysis is a powerful dynamic approach that has many applications, such as measuring the quality of test suites or automatically locating faults. However, the inherent low scalability hampers its practical use. To accelerate mutation analysis, researchers propose approaches to reduce redundant executions. A family of fork-based approaches tries to share identical executions among mutants. Fork-based approaches carry all mutants in one process and decide whether to fork new child processes when reaching a mutated statement. The mutants carried by the parent process are split into groups and distributed to different processes to finish the remaining executions. However, existing fork-based approaches have two limitations: (1) the limited analysis scope on a single statement to compare and cluster mutants prevents their systems from detecting more equivalent mutants, and (2) the interpretation of the mutants and the runtime equivalence analysis introduce significant overhead. In this paper, we present a novel fork-based mutation analysis approach WinMut, which (1) groups mutants in a scope of mutated statements and, (2) removes redundant computations inside interpreters. WinMut not only reduces the number of invoked processes but also has a lower cost for executing a single process. Our experiments show that our approach can further accelerate mutation analysis with an average speedup of 5.57x on top of the state-of-the-art fork-based approach, AccMut.
引用
收藏
页码:381 / 393
页数:13
相关论文
共 50 条
  • [1] Faster Mutation Analysis via Equivalence Modulo States
    Wang, Bo
    Xiong, Yingfei
    Shi, Yangqingwei
    Zhang, Lu
    Hao, Dan
    PROCEEDINGS OF THE 26TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA'17), 2017, : 295 - 306
  • [2] Faster Mutation Analysis with MeMu
    Ghanbari, Ali
    Marcus, Andrian
    PROCEEDINGS OF THE 31ST ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2022, 2022, : 781 - 784
  • [3] Topsy-Turvy: A Smarter and Faster Parallelization of Mutation Analysis
    Gopinath, Rahul
    Jensen, Carlos
    Groce, Alex
    2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C), 2016, : 740 - 743
  • [4] Selecting a software engineering tool: lessons learnt from mutation analysis
    Delahaye, Mickael
    du Bousquet, Lydie
    SOFTWARE-PRACTICE & EXPERIENCE, 2015, 45 (07) : 875 - 891
  • [5] A Tool for Mutation Analysis in Racket
    Zhuang, Bambi
    Perretta, James
    Guha, Arjun
    Bell, Jonathan
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS, ICSTW, 2023, : 308 - 313
  • [6] Definition and Evaluation of Mutation Operators for GUI-level Mutation Analysis
    Oliveira, Rafael A. P.
    Alegroth, Emil
    Gao, Zebao
    Memon, Atif
    2015 IEEE EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2015,
  • [7] On the Reuse of TLM Mutation Analysis at RTL
    Guarnieri, Valerio
    Di Guglielmo, Giuseppe
    Bombieri, Nicola
    Pravadelli, Graziano
    Fummi, Franco
    Hantson, Hanno
    Raik, Jaan
    Jenihhin, Maksim
    Ubar, Raimund
    JOURNAL OF ELECTRONIC TESTING-THEORY AND APPLICATIONS, 2012, 28 (04): : 435 - 448
  • [8] Mutation Analysis for SQL Database Applications
    Cabeca, Andrea Goncalves
    Jino, Mario
    Leitao-Junior, Plinio S.
    2009 FOURTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING ADVANCES (ICSEA 2009), 2009, : 146 - +
  • [9] Towards Mutation Analysis of Android Apps
    Deng, Lin
    Mirzaei, Nariman
    Ammann, Paul
    Offutt, Jeff
    2015 IEEE EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2015,
  • [10] On the Reuse of TLM Mutation Analysis at RTL
    Valerio Guarnieri
    Giuseppe Di Guglielmo
    Nicola Bombieri
    Graziano Pravadelli
    Franco Fummi
    Hanno Hantson
    Jaan Raik
    Maksim Jenihhin
    Raimund Ubar
    Journal of Electronic Testing, 2012, 28 : 435 - 448