Performance analysis of six meta-heuristic algorithms over automated test suite generation for path coverage-based optimization

被引:33
|
作者
Khari, Manju [1 ]
Sinha, Anunay [2 ]
Verdu, Elena [3 ]
Gonzalez Crespo, Ruben [3 ]
机构
[1] AIACTR, Delhi, India
[2] SAP Labs India, Bengaluru, India
[3] Univ Int La Rioja, Logrono, Spain
关键词
Test suite generation; Meta-heuristic algorithms; Path coverage-based optimization; Performance analysis;
D O I
10.1007/s00500-019-04444-y
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
There exists a direct need to automate the process of test suite generation to get the most optimal results as testing accounts for more than 40% of total cost. One method to solve this problem is the use of meta-heuristic algorithms which iteratively improve the test data to reach the most optimized test suites. This study focuses on the performance evaluation of six meta-heuristic algorithms namely: hill-climbing algorithm (HCA), particle swarm optimization (PSO), firefly algorithm (FA), cuckoo search algorithm (CS), bat algorithm (BA) and artificial bee colony algorithm (ABC) by using their standard implementation to optimize the path coverage and branch coverage produced by the test data. The goal of the study was to find the best-suited algorithm to narrow down the future research in the field of test automation for path coverage-based optimization approaches. Each algorithm was first implemented to automatically generate test suites based on the program under test. This was followed by the performance evaluation of each algorithm for five programs written in Java. The algorithms were compared using process metrics: average time, best time, worst time and product metrics: path coverage & objective function values of the generated test suites. Results indicated ABC as the best-suited algorithm as it gave the most optimal test suites in reasonable time. BA was found to be the fastest but produced less optimal results. FA was found to be the slowest algorithm, while CS, PSO and HCA performed in between. These results show the relative performance of the six algorithms for this scenario and may be used by the future researchers to narrow down and improve the best performing algorithms for path coverage-based optimization approaches.
引用
收藏
页码:9143 / 9160
页数:18
相关论文
共 50 条
  • [41] A Review on Meta-Heuristic Search Techniques for Automated Test Data Generation: Applicability Towards Improving Automatic Programming Assessment
    Romli, Rohaida
    Nordin, Noorazreen
    Omar, Mazni
    Mahmod, Musyrifah
    [J]. RECENT TRENDS IN INFORMATION AND COMMUNICATION TECHNOLOGY, 2018, 5 : 896 - 906
  • [42] Performance analysis of meta-heuristic optimization techniques for multi-objective VLSI circuit partitioning
    Roy, Sharadindu
    Banerjee, Siddhartha
    [J]. ENGINEERING RESEARCH EXPRESS, 2024, 6 (04):
  • [43] A comprehensive performance analysis of meta-heuristic optimization techniques for effective organic rankine cycle design
    Gurgen, Samet
    Kahraman, Hamdi Tolga
    Aras, Sefa
    Altin, Ismail
    [J]. APPLIED THERMAL ENGINEERING, 2022, 213
  • [44] Multi-task modeling and multifactorial optimization for path coverage problem of automated test case generation
    Wang, Xupeng
    Hu, Zhongbo
    Shi, Lingyi
    Cai, Gaocheng
    Su, Qinghua
    [J]. APPLIED SOFT COMPUTING, 2024, 154
  • [45] Hybrid and ensemble models by coupled with automated meta-heuristic algorithms for compressive and flexural strength and slump of high-performance concrete
    Zhang, Mingming
    Wu, Qingling
    [J]. Journal of Intelligent and Fuzzy Systems, 2024, 46 (02): : 5047 - 5072
  • [46] Automated Test Suite Generation for Software Product Lines Based on Quality-Diversity Optimization
    Xiang, Yi
    Huang, Han
    Li, Sizhe
    Li, Miqing
    Luo, Chuan
    Yang, Xiaowei
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (02)
  • [47] Hybrid and ensemble models by coupled with automated meta-heuristic algorithms for compressive and flexural strength and slump of high-performance concrete
    Zhang, Mingming
    Wu, Qingling
    [J]. JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2024, 46 (02) : 5047 - 5072
  • [48] Developing six hybrid machine learning models based on gaussian process regression and meta-heuristic optimization algorithms for prediction of duration and cost of road tunnels construction
    Mahmoodzadeh, Arsalan
    Nejati, Hamid Reza
    Mohammadi, Mokhtar
    Hashim Ibrahim, Hawkar
    Khishe, Mohammad
    Rashidi, Shima
    Hussein Mohammed, Adil
    [J]. Tunnelling and Underground Space Technology, 2022, 130
  • [49] Developing six hybrid machine learning models based on gaussian process regression and meta-heuristic optimization algorithms for prediction of duration and cost of road tunnels construction
    Mahmoodzadeh, Arsalan
    Nejati, Hamid Reza
    Mohammadi, Mokhtar
    Ibrahim, Hawkar Hashim
    Khishe, Mohammad
    Rashidi, Shima
    Mohammed, Adil Hussein
    [J]. TUNNELLING AND UNDERGROUND SPACE TECHNOLOGY, 2022, 130
  • [50] Electrical and thermal performance analysis of hybrid photovoltaic/thermal water collector using meta-heuristic optimization
    Heba S. Aggour
    Doaa M. Atia
    Hanaa M. Farghally
    M. Soliman
    M. Omar
    [J]. Journal of Electrical Systems and Information Technology, 11 (1)