%0 Conference Proceedings %T Using Swarm Intelligence to Generate Test Data for Covering Prime Paths %+ Shahid Beheshti University G.C. %A Monemi Bidgoli, Atieh %A Haghighi, Hassan %A Zohdi Nasab, Tahere %A Sabouri, Hamideh %< avec comité de lecture %( Lecture Notes in Computer Science %B 7th International Conference on Fundamentals of Software Engineering (FSEN) %C Teheran, Iran %Y Mehdi Dastani %Y Marjan Sirjani %I Springer International Publishing %3 Fundamentals of Software Engineering %V LNCS-10522 %P 132-147 %8 2017-04-26 %D 2017 %R 10.1007/978-3-319-68972-2_9 %K Search based test data generation %K Prime paths %K Swarm intelligence algorithms %K Ant colony optimization %K Particle swarm optimization %Z Computer Science [cs]Conference papers %X Search-based test data generation methods mostly consider the branch coverage criterion. To the best of our knowledge, only two works exist which propose a fitness function that can support the prime path coverage criterion, while this criterion subsumes the branch coverage criterion. These works are based on the Genetic Algorithm (GA) while scalability of the evolutionary algorithms like GA is questionable. Since there is a general agreement that evolutionary algorithms are inferior to swarm intelligence algorithms, we propose a new approach based on swarm intelligence for covering prime paths. We utilize two prominent swarm intelligence algorithms, i.e., ACO and PSO, along with a new normalized fitness function to provide a better approach for covering prime paths. To make ACO applicable for the test data generation problem, we provide a customization of this algorithm. The experimental results show that PSO and the proposed customization of ACO are both more efficient and more effective than GA when generating test data to cover prime paths. Also, the customized ACO, in comparison to PSO, has better effectiveness while has a worse efficiency. %G English %Z TC 2 %Z WG 2.2 %2 https://inria.hal.science/hal-01760865/document %2 https://inria.hal.science/hal-01760865/file/459025_1_En_9_Chapter.pdf %L hal-01760865 %U https://inria.hal.science/hal-01760865 %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-TC2 %~ IFIP-WG2-2 %~ IFIP-FSEN %~ IFIP-LNCS-10522