Enhancement of Mutation Testing via Fuzzy Clustering and Multi-Population Genetic Algorithm

被引:15
|
作者
Dang, Xiangying [1 ,2 ,3 ,4 ]
Gong, Dunwei [1 ,3 ,4 ]
Yao, Xiangjuan [5 ]
Tian, Tian [6 ]
Liu, Huai [7 ]
机构
[1] China Univ Min & Technol, Sch Informat & Control Engn, Xuzhou 221116, Jiangsu, Peoples R China
[2] Xuzhou Univ Technol, Sch Informat Engn, Sch Big Data, Xuzhou 221000, Jiangsu, Peoples R China
[3] Xuzhou Univ Technol, Key Lab Intelligent Ind Control Technol Jiangsu P, Xuzhou 221000, Jiangsu, Peoples R China
[4] Qingdao Univ Sci & Technol, Sch Informat Sci & Technol, Qingdao 266061, Shandong, Peoples R China
[5] China Univ Min & Technol, Sch Math, Xuzhou 221116, Jiangsu, Peoples R China
[6] Shandong Jianzhu Univ, Sch Comp Sci & Technol, Jinan 250101, Peoples R China
[7] Swinburne Univ Technol, Dept Comp Sci & Software Engn, Hawthorn, Vic 3122, Australia
基金
中国国家自然科学基金;
关键词
Mutation testing; fuzzy clustering; mutation clustering; test data generation; multi-population genetic algorithm (MGA); MUTANT REDUCTION; COST;
D O I
10.1109/TSE.2021.3052987
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mutation testing, a fundamental software testing technique, which is a typical way to evaluate the adequacy of a test suite. In mutation testing, a set of mutants are generated by seeding the different classes of faults into a program under test. Test data shall be generated in the way that as many mutants can be killed as possible. Thanks to numerous tools to implement mutation testing for different languages, a huge amount of mutants are normally generated even for small-sized programs. However, a large number of mutants not only leads to a high cost of mutation testing, but also make the corresponding test data generation a non-trivial task. In this paper, we make use of intelligent technologies to improve the effectiveness and efficiency of mutation testing from two perspectives. A machine learning technique, namely fuzzy clustering, is applied to categorize mutants into different clusters. Then, a multi-population genetic algorithm via individual sharing is employed to generate test data for killing the mutants in different clusters in parallel when the problem of test data generation as an optimization one. A comprehensive framework, termed as FUZGENMUT, is thus developed to implement the proposed techniques. The experiments based on nine programs of various sizes show that fuzzy clustering can help to reduce the cost of mutation testing effectively, and that the multi-population genetic algorithm improves the efficiency of test data generation while delivering the high mutant-killing capability. The results clearly indicate that the huge potential of using intelligent technologies to enhance the efficacy and thus the practicality of mutation testing.
引用
收藏
页码:2141 / 2156
页数:16
相关论文
共 50 条
  • [1] Derived Multi-population Genetic Algorithm for Adaptive Fuzzy C-Means Clustering
    Ding, Weiping
    Feng, Zhihao
    Andreu-Perez, Javier
    Pedrycz, Witold
    [J]. NEURAL PROCESSING LETTERS, 2023, 55 (03) : 2023 - 2047
  • [2] Derived Multi-population Genetic Algorithm for Adaptive Fuzzy C-Means Clustering
    Weiping Ding
    Zhihao Feng
    Javier Andreu-Perez
    Witold Pedrycz
    [J]. Neural Processing Letters, 2023, 55 : 2023 - 2047
  • [3] Multi-population Genetic Algorithm Quality Assessment Implementing Intuitionistic Fuzzy Logic
    Angelova, Maria
    Atanassov, Krassimir
    Pencheva, Tania
    [J]. 2012 FEDERATED CONFERENCE ON COMPUTER SCIENCE AND INFORMATION SYSTEMS (FEDCSIS), 2012, : 365 - 370
  • [4] An Improved Multi-Population Immune Genetic Algorithm
    Zhu, Hongxia
    Shen, Jiong
    Miao, Guojun
    [J]. 2008 7TH WORLD CONGRESS ON INTELLIGENT CONTROL AND AUTOMATION, VOLS 1-23, 2008, : 3155 - +
  • [5] Landscape Mapping by Multi-population Genetic Algorithm
    Guo, Yuebin B.
    Szeto, Kwok Yip
    [J]. NICSO 2008: NATURE INSPIRED COOPERATIVE STRATEGIES FOR OPTIMIZATION, 2009, 236 : 165 - 176
  • [6] Multi-Population Genetic Algorithm with Hierarchical Execution
    Hong, Tzung-Pei
    Peng, Yuan-Ching
    Lin, Wen-Yang
    [J]. 2016 INTERNATIONAL CONFERENCE ON FUZZY THEORY AND ITS APPLICATIONS (IFUZZY), 2016,
  • [7] A multi-population genetic algorithm for transportation scheduling
    Zegordi, S. H.
    Nia, M. A. Beheshti
    [J]. TRANSPORTATION RESEARCH PART E-LOGISTICS AND TRANSPORTATION REVIEW, 2009, 45 (06) : 946 - 959
  • [8] Multi-population genetic algorithm for feature selection
    Zhu, Huming
    Jiao, Licheng
    Pan, Jin
    [J]. ADVANCES IN NATURAL COMPUTATION, PT 2, 2006, 4222 : 480 - 487
  • [9] Multi-population Black Hole Algorithm for the problem of data clustering
    Salih, Sinan A.
    Alsewari, AbdulRahman
    Wahab, H. A. S.
    Mohammed, Mustafa K. A.
    Rashid, Tarik
    Das, Debashish
    Basurra, Shadi
    [J]. PLOS ONE, 2023, 18 (07):
  • [10] Migration Effect of Hierarchical Multi-population Genetic Algorithm
    Hong, Tzung-Pei
    Peng, Yuan-Ching
    Lin, Wen-Yang
    Wang, Shyue-Liang
    [J]. 2017 3RD IEEE INTERNATIONAL CONFERENCE ON CYBERNETICS (CYBCONF), 2017, : 350 - 353