Critical Path-Aware Deep Learning Architecture for Efficient Test Case Prioritization and Minimization

Authors

  • Vinita Tomar, Mamta Bansal, Pooja Singh

Keywords:

Test case prioritization; Test case minimization; Optimization; Software testing; Critical path analysis; Deep learning

Abstract

Test case prioritization and minimization are essential practices to augment the efficiency of the testing process in software testing. However, conventional methods often struggle with large-scale software systems due to their inability to effectively handle the critical path, leading to suboptimal prioritization and minimal test coverage This research paper proposes an Enhanced Electric-Eel with Critical Path-Aware Foraging Optimization (EECPFO) algorithm tailored for test case minimization and prioritization in software testing. The algorithm is designed to address the challenges of minimizing redundancy, prioritizing critical paths, and maintaining diversity in test suites. To achieve this, modifications including a Dynamic Fitness Function, Redundancy-aware Foraging, Critical Path Sensitivity, and Diversity Maintenance are integrated into the EEFO framework. The proposed algorithm is evaluated for its effectiveness using three open-source Java programs (JTopas, Ant, and JMeter) from the Software Infrastructure Repository (SIR), employing well-known metrics such as Average Percentage of Fault Detection (APFD) and Average Percentage of Fault Detection with Cost (APFDc). Experimental results demonstrate significant improvements in test case prioritization and minimization compared to benchmark algorithms, showcasing enhanced fault detection rates, coverage, and cost reduction percentages. The findings, highlight the potential of the proposed EECPFO algorithm as a valuable tool for optimizing software testing processes, leading to more efficient and effective quality assurance practices.

Downloads

Download data is not yet available.

References

Tomar, V., Bansal, M., & Singh, P., “Regression Testing Approaches, Tools, and Applications in Various Environments.” 4th International Conference on Artificial Intelligence and Speech Technology (AIST), 1-6, IEEE, (2022). https://doi.org/10.1109/AIST55798.2022.10064753

Tomar, V., & Bansal, M., “Software Testing and Test Case Optimization: Concepts and Trends.” Electronic Systems and Intelligent Computing: Proceedings of ESIC 2021, 525-532. Singapore: Springer Nature Singapore., (2022). https://doi.org/10.1007/978-981-16-9488-2_50

Houssein, E. H., Saad, M. R., Hashim, F. A., Shaban, H., & Hassaballah, M., “Lévy flight distribution: A new metaheuristic algorithm for solving engineering optimization problems.” Engineering Applications of Artificial Intelligence, 94, 103731, (2020). https://doi.org/10.1016/j.engappai.2020.103731

Meng, Z., Li, G., Wang, X., Sait, S. M., & Yıldız, A. R., “A comparative study of metaheuristic algorithms for reliability-based design optimization problems.” Archives of Computational Methods in Engineering, 28, 1853-1869, (2021). https://doi.org/10.1007/ s11831-020-09443-z

Agushaka, J. O., & Ezugwu, A. E., “Evaluation of several initialization methods on arithmetic optimization algorithm performance.” Journal of Intelligent Systems, 31(1), 70-94, (2021). https://doi.org/10.1515/jisys-2021-0164

Abdel-Basset, M., Abdel-Fatah, L., & Sangaiah, A. K., “Metaheuristic algorithms: A comprehensive review.” Computational intelligence for multimedia big data on the cloud with engineering applications, 185-231, (2018).

Tomar, V., Bansal, M., & Singh, P., “Metaheuristic Algorithms for Optimization: A Brief Review.” Engineering Proceedings, 59(1), 238, (2024). https://doi.org/10.3390/engproc2023059238

Mohapatra, S. K., & Prasad, S., “Test case reduction using ant colony optimization for object-oriented program.” International Journal of Electrical and Computer Engineering, 5(6), (2015).

Bajaj, A., & Abraham, A., “Prioritizing and Minimizing the Test Cases using the Dragonfly Algorithms.” International Journal of Computer Information Systems and Industrial Management Applications, 13, 10-10, (2021).

Rushikesh Sugave, S., Patil, S. H., & Eswara Reddy, B., “DIV‐TBAT algorithm for test suite reduction in software testing.” IET Software, 12(3), 271-279, (2018).

Nayak, G., & Ray, M., “Modified condition decision coverage criteria for test suite prioritization using particle swarm optimization.” International Journal of Intelligent Computing and Cybernetics, 12(4), 425-443, (2019).

Bajaj, A., Sangwan, O. P., & Abraham, A., “Improved novel bat algorithm for test case prioritization and minimization.” Soft Computing, 26(22), 12393-12419, (2022). https://doi.org/10.1007/s00500-022-07121-9

Li, F., Zhou, J., Li, Y., Hao, D., & Zhang, L., “Aga: An accelerated greedy additional algorithm for test case prioritization.” IEEE Transactions on Software Engineering, 48(12), 5102-5119, (2021).

Ahmed, B. S., “Test case minimization approach using fault detection and combinatorial optimization techniques for configuration-aware structural testing.” Engineering Science and Technology, an International Journal, 19(2), 737-753, (2016).

Khatibsyarbini, M., Isa, M. A., & Jawawi, D. N. A., “Particle swarm optimization for test case prioritization using string distance.” Advanced Science Letters, 24(10), 7221-7226, (2018).

Samad, A., Mahdin, H. B., Kazmi, R., Ibrahim, R., & Baharum, Z., “Multiobjective test case prioritization using test case effectiveness: multicriteria scoring method.” Scientific Programming, 2021(1), 9988987, (2021).

Bharathi, M., “Hybrid particle swarm and ranked firefly metaheuristic optimization-based software test case minimization.” International Journal of Applied Metaheuristic Computing (IJAMC), 13(1), 1-20, (2022).

Deneke, A., Assefa, B. G., & Mohapatra, S. K., “Test suite minimization using particle swarm optimization.” Materials Today: Proceedings, 60, 229-233, (2022).

Boyar, T., Oz, M., Oncu, E., & Aktas, M. S., “A novel approach to test case prioritization for software regression tests.” Computational Science and Its Applications–ICCSA 2021: 21st International Conference, Cagliari, Italy, September 13–16, 2021, Proceedings, Part VII 21, 201-216. Springer International Publishing, (2021).

Bajaj, A., & Sangwan, O. P., “Discrete and combinatorial gravitational search algorithms for test case prioritization and minimization.” International Journal of Information Technology, 13, 817-823, (2021).

Zhao, W., Wang, L., Zhang, Z., Fan, H., Zhang, J., Mirjalili, S., & Cao, Q., “Electric eel foraging optimization: A new bio-inspired optimizer for engineering applications.” Expert Systems with Applications, 238, 122200, (2024).

Bastos, D. A., Zuanon, J., Rapp Py‐Daniel, L., & de Santana, C. D., “Social predation in electric eels.” Ecology and evolution, 11(3), 1088-1092, (2021). https://doi.org/10.1002/ ece3.7121

Malishevsky, A. G., Ruthruff, J. R., Rothermel, G., & Elbaum, S., “Cost-cognizant test case prioritization.” Technical report TR-UNLCSE-2006–0004, University of Nebraska-Lincoln, 97–106, (2006).

Viswanathan, G. M., Afanasyev, V., Buldyrev, S. V., Murphy, E. J., Prince, P. A., & Stanley, H. E., “Lévy flight search patterns of wandering albatrosses.” Nature, 381(6581), 413-415, (1996). https://doi.org/10.1038/381413a0

Zhao, S., Zhang, T., Ma, S., & Wang, M., “Sea-horse optimizer: A novel nature-inspired meta-heuristic for global optimization problems.” Applied Intelligence, 53(10), 11833-11860. (2023). https://doi.org/10.1007/s10489-022-03994-3

V. Tomar, M. Bansal, and P. Singh, “Application of Gradient-Based Optimizer for Development of Enhanced Fitness Function with Critical Path Weights for Generating Test Data.” International Journal of Intelligent Systems and Applications in Engineering, 12(21s), 4403, (2024). –. Retrieved from https://ijisae.org/index.php/IJISAE/article/view/6296

Li, Z., Harman, M., & Hierons, R. M., “Search algorithms for regression test case prioritization.” IEEE Transactions on software engineering, 33(4), 225-237, (2007).

Marchetto, A., Islam, M. M., Asghar, W., Susi, A., & Scanniello, G., “A multi-objective technique to prioritize test cases.” IEEE Transactions on Software Engineering, 42(10), 918-940, (2015).

Elbaum, S., Malishevsky, A. G., & Rothermel, G., “Test case prioritization: A family of empirical studies.” IEEE transactions on software engineering, 28(2), 159-182, (2002).

Downloads

Published

09.07.2024

How to Cite

Vinita Tomar. (2024). Critical Path-Aware Deep Learning Architecture for Efficient Test Case Prioritization and Minimization . International Journal of Intelligent Systems and Applications in Engineering, 12(22s), 1164 –. Retrieved from https://ijisae.org/index.php/IJISAE/article/view/6643

Issue

Section

Research Article