Software testing is one of the software development activities and is used to identify and remove software bugs. Most small-sized projects may be manually tested to find and fix any bugs. In large and real-world software products, manual testing is thought to be a time and money-consuming process. Finding a minimal subset of input data in the shortest amount of time (as test data) to obtain the maximal branch coverage is an NP-complete problem in the field. Different heuristic-based methods have been used to generate test data. In this paper, for addressing and solving the test data generation problem, the black widow optimization algorithm has been used. The branch coverage criterion was used as the fitness function to optimize the generated data. The obtained experimental results on the standard benchmarks show that the proposed method generates more effective test data than the simulated annealing, genetic algorithm, ant colony optimization, particle swarm optimization, and artificial bee colony algorithms. According to the results, with 99.98% average coverage, 99.96% success rate, and 9.36 required iteration, the method was able to outperform the other methods.
Eser Adı (dc.title) | Effective test-data generation using the modified black widow optimization algorithm |
Yazar (dc.contributor.author) | Mahsa Torkamanıan Afshar |
Yayın Yılı (dc.date.issued) | 2024 |
Tür (dc.type) | Makale |
Özet (dc.description.abstract) | Software testing is one of the software development activities and is used to identify and remove software bugs. Most small-sized projects may be manually tested to find and fix any bugs. In large and real-world software products, manual testing is thought to be a time and money-consuming process. Finding a minimal subset of input data in the shortest amount of time (as test data) to obtain the maximal branch coverage is an NP-complete problem in the field. Different heuristic-based methods have been used to generate test data. In this paper, for addressing and solving the test data generation problem, the black widow optimization algorithm has been used. The branch coverage criterion was used as the fitness function to optimize the generated data. The obtained experimental results on the standard benchmarks show that the proposed method generates more effective test data than the simulated annealing, genetic algorithm, ant colony optimization, particle swarm optimization, and artificial bee colony algorithms. According to the results, with 99.98% average coverage, 99.96% success rate, and 9.36 required iteration, the method was able to outperform the other methods. |
Açık Erişim Tarihi (dc.date.available) | 2024-05-15 |
Yayıncı (dc.publisher) | Springer Science and Business Media Deutschland GmbH |
Dil (dc.language.iso) | En |
Konu Başlıkları (dc.subject) | Software-test generation |
Konu Başlıkları (dc.subject) | Black widow optimization algorithm |
Konu Başlıkları (dc.subject) | Branch coverage |
Konu Başlıkları (dc.subject) | Success rate; Stability |
Tek Biçim Adres (dc.identifier.uri) | https://hdl.handle.net/20.500.14081/2084 |
ISSN (dc.identifier.issn) | 1863-1703 |
Dergi (dc.relation.journal) | Signal, Image and Video Processing |
Esere Katkı Sağlayan (dc.contributor.other) | Torkamanian-Afshar, Mahsa |
Esere Katkı Sağlayan (dc.contributor.other) | Arasteh, Bahman |
Esere Katkı Sağlayan (dc.contributor.other) | Ghaffari, Ali |
Esere Katkı Sağlayan (dc.contributor.other) | Khadir, Milad |
Esere Katkı Sağlayan (dc.contributor.other) | Pirahesh, Sajad |
DOI (dc.identifier.doi) | 10.1007/s11760-024-03236-8 |
Orcid (dc.identifier.orcid) | 0000-0002-8658-4013 |
wosquality (dc.identifier.wosquality) | Q3 |
wosauthorid (dc.contributor.wosauthorid) | AAD-9989-2022 |
Department (dc.contributor.department) | Yazılım Mühendisliği |
Wos No (dc.identifier.wos) | WOS:001220395200003 |
Veritabanları (dc.source.platform) | Wos |
Veritabanları (dc.source.platform) | Scopus |