TY - JOUR
T1 - An Iterative Group-Based MOPSO with Isomap-Guided Leaders and DQN-Adaptive Parameters for Automated Path Coverage Test Case Generation
AU - Fang, Yuchen
AU - He, Zhitao
N1 - Publisher Copyright:
© 2025 World Scientific Publishing Company.
PY - 2025/10/1
Y1 - 2025/10/1
N2 - Automated Test Case Generation for Path Coverage (ATCG-PC) is a critical yet challenging task in software testing, especially for large-scale programs where metaheuristic algorithms often suffer from premature convergence and inefficient exploration. This paper proposes a novel algorithm, Isomap-DQN-MOPSO (IDMOPSO), which significantly enhances the Multi-Objective Particle Swarm Optimization (MOPSO) framework. Our approach introduces an iterative, prefix-based path grouping strategy to manage complexity. Crucially, it integrates two machine learning-based enhancements: an Isomap manifold learning strategy for more effective leader selection to guide the swarm and escape local optima, and a hybrid Deep Q-Network (DQN) for dynamically adapting learning factors to balance exploration and exploitation. Comprehensive experiments on a diverse set of 18 programs demonstrate that IDMOPSO achieves superior performance, particularly on large-scale programs where it attains significantly higher path coverage rates than state-of-the-art methods. Ablation studies confirm the synergistic effect of combining Isomap and DQN, validating our approach as a robust and scalable solution for complex ATCG-PC problems.
AB - Automated Test Case Generation for Path Coverage (ATCG-PC) is a critical yet challenging task in software testing, especially for large-scale programs where metaheuristic algorithms often suffer from premature convergence and inefficient exploration. This paper proposes a novel algorithm, Isomap-DQN-MOPSO (IDMOPSO), which significantly enhances the Multi-Objective Particle Swarm Optimization (MOPSO) framework. Our approach introduces an iterative, prefix-based path grouping strategy to manage complexity. Crucially, it integrates two machine learning-based enhancements: an Isomap manifold learning strategy for more effective leader selection to guide the swarm and escape local optima, and a hybrid Deep Q-Network (DQN) for dynamically adapting learning factors to balance exploration and exploitation. Comprehensive experiments on a diverse set of 18 programs demonstrate that IDMOPSO achieves superior performance, particularly on large-scale programs where it attains significantly higher path coverage rates than state-of-the-art methods. Ablation studies confirm the synergistic effect of combining Isomap and DQN, validating our approach as a robust and scalable solution for complex ATCG-PC problems.
KW - Automated test case generation
KW - Isomap
KW - deep reinforcement learning
KW - multi-objective particle swarm optimization
KW - path coverage
UR - https://www.scopus.com/pages/publications/105016197603
U2 - 10.1142/S0218194025500445
DO - 10.1142/S0218194025500445
M3 - 文章
AN - SCOPUS:105016197603
SN - 0218-1940
VL - 35
SP - 1399
EP - 1434
JO - International Journal of Software Engineering and Knowledge Engineering
JF - International Journal of Software Engineering and Knowledge Engineering
IS - 10
ER -