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 条
  • [1] Performance analysis of six meta-heuristic algorithms over automated test suite generation for path coverage-based optimization
    Manju Khari
    Anunay Sinha
    Elena Verdú
    Ruben González Crespo
    [J]. Soft Computing, 2020, 24 : 9143 - 9160
  • [2] Performance Comparison of Physics Based Meta-Heuristic Optimization Algorithms
    Demirol, Doygun
    Oztemiz, Furkan
    Karci, Ali
    [J]. 2018 INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND DATA PROCESSING (IDAP), 2018,
  • [3] Test Suite Prioritization Using Nature Inspired Meta-Heuristic Algorithms
    Gupta, Daya
    Gupta, Vishal
    [J]. INTELLIGENT SYSTEMS DESIGN AND APPLICATIONS (ISDA 2016), 2017, 557 : 216 - 226
  • [4] An effective meta-heuristic cuckoo search algorithm for test suite optimization
    Khari, Manju
    Kumar, Prabhat
    [J]. Informatica (Slovenia), 2017, 41 (03): : 363 - 377
  • [5] Clustering performance comparison of new generation meta-heuristic algorithms
    Ozbakir, Lale
    Turna, Fatma
    [J]. KNOWLEDGE-BASED SYSTEMS, 2017, 130 : 1 - 16
  • [6] Fault detection probability analysis for coverage-based test suite reduction
    McMaster, Scott
    Memon, Atif
    [J]. 2007 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2007, : 84 - 93
  • [7] Towards More Efficient Meta-heuristic Algorithms for Combinatorial Test Generation
    Lin, Jinkun
    Cai, Shaowei
    Luo, Chuan
    Lin, Qingwei
    Zhang, Hongyu
    [J]. ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2019, : 212 - 222
  • [8] Comparative Analysis of Meta-Heuristic Algorithms for Solving Optimization Problems
    Kashif, Muhammad
    Shang, Gao
    Sohail, Qaisar
    Masood, Abdul Mannan
    Atif, Muhammad
    Ashraf, Usman
    Akhtar, Aleena
    Ali, Shahid
    [J]. PROCEEDINGS OF THE 2018 8TH INTERNATIONAL CONFERENCE ON MANAGEMENT, EDUCATION AND INFORMATION (MEICI 2018), 2018, 163 : 612 - 618
  • [9] Toolset and Program Repository for Code Coverage-Based Test Suite Analysis and Manipulation
    Tengeri, David
    Beszedes, Arpad
    Havas, David
    Gyimothy, Tibor
    [J]. 2014 14TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2014), 2014, : 47 - 52
  • [10] Optimization of a Hybrid Renewable Energy System Based on Meta-Heuristic Optimization Algorithms
    Ouederni, Ramia
    Bouaziz, Bechir
    Bacha, Faouzi
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2024, 15 (07) : 796 - 803