Reducing the Cost of Mutation Testing with the Use of Primitive Arcs Concept

被引:0
|
作者
Kuroishi, Pedro Henrique [1 ]
Delamaro, Marcio Eduardo [2 ]
Maldonado, Jose Carlos [2 ]
Rizzo Vincenzi, Auri Marcelo [1 ]
机构
[1] Univ Fed Sao Carlos, DC, Sao Carlos, Brazil
[2] Univ Sao Paulo, ICMC, Sao Paulo, Brazil
基金
巴西圣保罗研究基金会;
关键词
mutation testing; mutation-based testing criteria; cost reduction; primitive arcs; minimal mutants; control-flow analysis; REDUCTION;
D O I
10.1145/3439961.3439981
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mutation testing is a testing criterion used to measure the quality of a test suite. In mutation, a test suite is executed against the set of mutants of a given program under testing. A score is computed to measure the adequacy of the test suite in detecting faults. Although powerful, mutation testing has two major drawbacks: the high-computational cost to generate and execute the set of generated mutants and the existence of equivalent mutants. In this paper, we present a preliminary experimental study to investigate the use of control-flow information, aiming to reduce the number of mutants. For this study, only a subset of mutants, defined by its location, is executed. Such location is determined by the set of primitive arcs of a given program under testing. Next, it is analyzed the relationship between minimal mutants and primitive arcs. Results indicate that the approach reduces the number of mutants and equivalent mutants and, in most cases, still maintains a high mutation score concerning full mutation. Moreover, the results also indicate that there is a concentration of minimal mutants on the nodes related to primitive arcs. Finally, we compare the effectiveness of our strategy over random mutant sampling.
引用
收藏
页数:10
相关论文
共 50 条
  • [21] Reduction of Computational Cost in Mutation Testing by Sampling Mutants
    Bluemke, Ilona
    Kulesza, Karol
    NEW RESULTS IN DEPENDABILITY AND COMPUTER SYSTEMS, 2013, 224 : 41 - 51
  • [22] Mutation testing cost reduction by clustering overlapped mutants
    Ma, Yu-Seung
    Kim, Sang-Woon
    JOURNAL OF SYSTEMS AND SOFTWARE, 2016, 115 : 18 - 30
  • [23] Improved Genetic Algorithm to Reduce Mutation Testing Cost
    Bashir, Muhammad Bilal
    Nadeem, Aamer
    IEEE ACCESS, 2017, 5 : 3657 - 3674
  • [24] Cost Measures Matter for Mutation Testing Study Validity
    Guizzo, Giovani
    Sarro, Federica
    Harman, Mark
    PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, : 1127 - 1139
  • [25] Wealth and health behavior: Testing the concept of a health cost
    van Kippersluis, Hans
    Galama, Titus J.
    EUROPEAN ECONOMIC REVIEW, 2014, 72 : 197 - 220
  • [26] Identification of propagated defects to reduce software testing cost via mutation testing
    Lee, Dong-Gun
    Seo, Yeong-Seok
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2022, 19 (06) : 6124 - 6140
  • [27] Reducing the Cost of Regression Testing by Identifying Irreplaceable Test Cases
    Lin, Chu-Ti
    Tang, Kai-Wei
    Chen, Cheng-Ding
    Kapfhammer, Gregory M.
    2012 SIXTH INTERNATIONAL CONFERENCE ON GENETIC AND EVOLUTIONARY COMPUTING (ICGEC), 2012, : 257 - 260
  • [28] A Tool Supported Testing Method for Reducing Cost and Improving Quality
    Liu, Shaoying
    2016 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2016), 2016, : 450 - 457
  • [29] A Systolic Genetic Search for reducing the execution cost of regression testing
    Pedemonte, Martin
    Luna, Francisco
    Alba, Enrique
    APPLIED SOFT COMPUTING, 2016, 49 : 1145 - 1161
  • [30] The Concept Optical Bleach Plant Reducing the Cost of Chemicals in Bleach Plants
    Williamson, Mark
    WOCHENBLATT FUR PAPIERFABRIKATION, 2014, 142 (06): : 344 - +