Performance Analysis of Several Intelligent Algorithms for Class Integration Test Order Optimization
Open Access
- 4 September 2023
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 12 (17) , 3733
Abstract
Integration testing is an essential activity in software testing, especially in object-oriented software development. Determining the sequence of classes to be integrated, i.e., the class integration test order (CITO) problem, is of great importance but computationally challenging. Previous research has shown that meta heuristic algorithms can devise class integration test orders with lower test stubbing complexity, resulting in software testing cost reduction. This study focuses on the comparable performance evaluation of ten commonly used meta heuristic algorithms: genetic algorithm (GA), particle swarm optimization (PSO), cuckoo search algorithm (CS), firefly algorithm (FA), bat algorithm (BA), grey wolf algorithm (GWO), moth flame optimization (MFO), sine cosine algorithm (SCA), salp swarm algorithm (SSA) and Harris hawk optimization (HHO). The objective of this study is to identify the most suited algorithms, narrowing down potential avenues for future researches in the field of search-based class integration test order generation. The standard implementations of these algorithms are employed to generate integration test orders. Additionally, these test orders are evaluated and compared in terms of stubbing complexity, convergence speed, average runtime, and memory consumption. The experimental results suggest that MFO, SSA, GWO and CS are the most suited algorithms. MFO, SSA and GWO exhibit excellent optimization performance in systems where fitness values are heavily impacted by attribute coupling. Meanwhile, MFO, GWO and CS are recommended for systems where the fitness values are strongly influenced by method coupling. BA and FA emerge as the slowest algorithms, while the remaining algorithms exhibit intermediate performance. The performance analysis may be used to select and improve appropriate algorithms for the CITO problem, providing a cornerstone for future scientific research and practical applications.Keywords
Funding Information
- Science and Technology Planning Program of Henan Province (172102210592, 212102210417)
This publication has 26 references indexed in Scilit:
- Grammatical Evolution for the Multi-Objective Integration and Test Order Problem2016
- SCA: A Sine Cosine Algorithm for solving optimization problemsKnowledge-Based Systems, 2016
- Moth-flame optimization algorithm: A novel nature-inspired heuristic paradigmKnowledge-Based Systems, 2015
- Achievements, Open Problems and Challenges for Search Based Software Testing2015
- Grey Wolf OptimizerAdvances in Engineering Software, 2014
- Multi-objective optimization algorithms applied to the class integration and test order problemInternational Journal on Software Tools for Technology Transfer, 2012
- A Pareto Ant Colony Algorithm Applied to the Class Integration and Test Order ProblemLecture Notes in Computer Science, 2010
- An investigation of graph-based class integration test order strategiesIEEE Transactions on Software Engineering, 2003
- Selecting an Efficient OO Integration Testing Strategy: An Experimental Comparison of Actual Strategies2001
- Efficient object-oriented integration and regression testingIEEE Transactions on Reliability, 2000