>
Fa   |   Ar   |   En
   optimizing cost function in imperialist competitive algorithm for path coverage problem in software testing  
   
نویسنده saadtjoo m. a. ,babamir s. m.
منبع journal of ai and data mining - 2018 - دوره : 6 - شماره : 2 - صفحه:375 -385
چکیده    The search-based optimization methods have been used for the software engineering activities such as software testing. in the field of software testing, search-based test data generation refers to the application of meta-heuristic optimization methods to generate the test data that cover the code space of a program. automatic test data generation that can cover all the software paths is known as a major challenge. this paper establishes a new cost function for automatic test data generation, which can traverse the non-iterative paths of the software control flow graphs (cfgs). this function is later compared with similar cost functions proposed in the other articles. the results obtained indicate the superior performance of the proposed function. another innovation proposed in this paper is the application of the imperialist competitive algorithm (ica) in automatic test data generation along with the proposed cost function. automatic test data generation is implemented through ica as well as the genetic algorithm and particle swarm optimization algorithm for three software programs with different search space sizes. these algorithms are compared with each other in terms of the convergence speed, computational time, and local search. the test data generated by the proposed method achieved better results than the other algorithms in finding the number of non-iterative paths, convergence speed, and computational time with growing the searching space of the software cfg
کلیدواژه software testing ,imperialist competitive algorithm ,test data generation ,control flow graph ,program complexity ,path coverage
آدرس university of kashan, department of computer engineering, ایران, university of kashan, department of computer engineering, ایران
پست الکترونیکی babamir@kashanu.ac.ir
 
     
   
Authors
  
 
 

Copyright 2023
Islamic World Science Citation Center
All Rights Reserved