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 条
  • [1] Reducing the Cost of Higher-Order Mutation Testing
    Ahmed S. Ghiduk
    Moheb R. Girgis
    Marwa H. Shehata
    Arabian Journal for Science and Engineering, 2018, 43 : 7473 - 7486
  • [2] Reducing the Cost of Higher-Order Mutation Testing
    Ghiduk, Ahmed S.
    Girgis, Moheb R.
    Shehata, Marwa H.
    ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2018, 43 (12) : 7473 - 7486
  • [3] REDUCING THE COST OF MUTATION TESTING - AN EMPIRICAL-STUDY
    WONG, WE
    MATHUR, AP
    JOURNAL OF SYSTEMS AND SOFTWARE, 1995, 31 (03) : 185 - 196
  • [4] RSM: REDUCING MUTATION TESTING COST USING RANDOM SELECTIVE MUTATION TECHNIQUE
    Falah, Bouchaib
    Akour, Mohammed
    Bouriat, Salwa
    MALAYSIAN JOURNAL OF COMPUTER SCIENCE, 2015, 28 (04) : 338 - 347
  • [5] Reducing the Cost of Mutation Testing using the Semantic Size of Mutant
    Sousa, Leonardo da S.
    Vincenzi, Auri M. R.
    Delamaro, Marcio Eduardo
    Vieira, Igor R.
    de Mendonca, Vinicius R. L.
    Rodrigues, Cassio L.
    2018 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2018, : 2675 - 2680
  • [6] REDUCING ADVERTISING FAILURES BY CONCEPT TESTING
    AXELROD, JN
    JOURNAL OF MARKETING, 1964, 28 (04) : 41 - 44
  • [7] Extended Firm Mutation Testing: A Cost Reduction Technique for Mutation Testing
    Singh, Mayank
    Srivastava, Viranjay M.
    2017 FOURTH INTERNATIONAL CONFERENCE ON IMAGE INFORMATION PROCESSING (ICIIP), 2017, : 604 - 609
  • [8] REDUCING THE COST OF HIV ANTIBODY TESTING
    TAMASHIRO, H
    MASKILL, W
    EMMANUEL, J
    FAUQUEX, A
    SATO, P
    HEYMANN, D
    LANCET, 1993, 342 (8863): : 87 - 90
  • [9] REDUCING THE COST OF HIV ANTIBODY TESTING
    TAMASHIRO, H
    HEYMANN, D
    LANCET, 1993, 342 (8875): : 866 - 866
  • [10] REDUCING THE COST OF HIV ANTIBODY TESTING
    FRERICHS, RR
    LANCET, 1993, 342 (8879): : 1116 - 1117