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 条
  • [21] An Empirical Analysis of Two Mutation Testing Tools for Java']Java
    Monteiro, Ricardo
    Durelli, Vinicius H. S.
    Endo, Andre T.
    Eler, Marcelo M.
    7TH BRAZILIAN SYMPOSIUM ON SYSTEMATIC AND AUTOMATED SOFTWARE TESTING, SAST 2022, 2022, : 49 - 58
  • [22] On guiding the augmentation of an automated test suite via mutation analysis
    Ben H. Smith
    Laurie Williams
    Empirical Software Engineering, 2009, 14 : 341 - 369
  • [23] Should software testers use mutation analysis to augment a test set?
    Smith, Ben H.
    Williams, Laurie
    JOURNAL OF SYSTEMS AND SOFTWARE, 2009, 82 (11) : 1819 - 1832
  • [24] Optimize the Software Testing Efficiency using Genetic Algorithm and Mutation Analysis
    Khan, Rijwan
    Amjad, Mohd
    PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 1174 - 1176
  • [25] Automatic Test Case Generation based on Genetic Algorithm and Mutation Analysis
    Haga, Hirohide
    Suehiro, Akihisa
    2012 IEEE INTERNATIONAL CONFERENCE ON CONTROL SYSTEM, COMPUTING AND ENGINEERING (ICCSCE 2012), 2012, : 119 - 123
  • [26] STATIC DATA-FLOW-AIDED WEAK MUTATION ANALYSIS (SDAWM)
    MARSHALL, AC
    HEDLEY, D
    RIDDELL, IJ
    HENNELL, MA
    INFORMATION AND SOFTWARE TECHNOLOGY, 1990, 32 (01) : 99 - 104
  • [27] Novel Metrics for Mutation Analysis
    Takan S.
    Katipoglu G.
    Computer Systems Science and Engineering, 2023, 46 (02): : 2075 - 2089
  • [28] Mutation Analysis of NGAC Policies
    Chen, Erzhuo
    Dubrovenski, Vladislav
    Xu, Dianxiang
    PROCEEDINGS OF THE 26TH ACM SYMPOSIUM ON ACCESS CONTROL MODELS AND TECHNOLOGIES, SACMAT 2021, 2021, : 71 - 82
  • [29] Mutation Analysis of Stateflow to Improve the Modelling Analysis
    Goyal, Prachi
    Nanda, Manju
    Jayanthi, J.
    ADVANCES IN COMPUTING AND DATA SCIENCES, ICACDS 2016, 2017, 721 : 173 - 182
  • [30] A Variability Perspective of Mutation Analysis
    Devroey, Xavier
    Perrouin, Gilles
    Cordy, Maxime
    Papadakis, Mike
    Legay, Axel
    Schobbens, Pierre-Yves
    22ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (FSE 2014), 2014, : 841 - 844