A Comparative Study of the Particle Swarm Optimization and Genetic Algorithm for Software Evolution Process

Authors

  • Rajeeb Sankar Bal Ph.D Scholar, Department of Computer Application, MSCB University, Odisha, India Author
  • Jibendu Kumar Mantri Professor, Department of Computer Application, MSCB University, Odisha, India Author

DOI:

https://doi.org/10.32628/CSEIT2612131

Abstract

The software industry increasingly emphasizes the improvement of software quality. Modern development practices recognize that software should be built and maintained through a well-defined, structured process, consisting of organized and systematic steps for designing, developing, and evolving software systems. Petri net is applied for basic block of the software process. Path-based testing supports the software process by systematically identifying key execution paths to improve test planning and coverage. Using optimization techniques like Particle Swarm Optimization (PSO) helps efficiently generate test paths, enhancing the quality and effectiveness of process-level testing activities. Search-based optimization techniques improve decision making in the software process by transforming tasks such as cost estimation, release planning, and test generation into optimization problems. These methods efficiently explore large solution spaces to find near optimal solutions. Genetic algorithm (GA) is particularly effective due to their scalability and ability to handle multiple objectives, enhancing process efficiency, resource allocation, and software quality. In this paper, we present the development of a workflow software process modeled using Petri Nets. The approach helps in analyzing, controlling, and improving process execution within software development. We have proposed path testing technique applies PSO and GA to efficiently generate test paths that satisfy the all-uses criterion, improving planning and coverage in the software process. Comparative results show that PSO can achieve complete def–use path coverage with fewer generations than GA, enhancing testing efficiency and process effectiveness. The software industry increasingly emphasizes the improvement of software quality. Modern development practices recognize that software should be built and maintained through a well-defined, structured process, consisting of organized and systematic steps for designing, developing, and evolving software systems. Petri net is applied for basic block of the software process. Path-based testing supports the software process by systematically identifying key execution paths to improve test planning and coverage. Using optimization techniques like Particle Swarm Optimization (PSO) helps efficiently generate test paths, enhancing the quality and effectiveness of process-level testing activities. Search-based optimization techniques improve decision making in the software process by transforming tasks such as cost estimation, release planning, and test generation into optimization problems. These methods efficiently explore large solution spaces to find near optimal solutions. Genetic algorithm (GA) is particularly effective due to their scalability and ability to handle multiple objectives, enhancing process efficiency, resource allocation, and software quality. In this paper, we present the development of a workflow software process modeled using Petri Nets. The approach helps in analyzing, controlling, and improving process execution within software development. We have proposed path testing technique applies PSO and GA to efficiently generate test paths that satisfy the all-uses criterion, improving planning and coverage in the software process. Comparative results show that PSO can achieve complete def–use path coverage with fewer generations than GA, enhancing testing efficiency and process effectiveness.

Downloads

Download data is not yet available.

References

G. Eason, B. Noble, M.Dowson, Software process themes and issues, Proceedings of the Second International Conferenceon the Software Process-Continuous Software Process Improvement, IEEE, 1993. DOI: 10.1109/SP-CON.1993.236822.

Miryung Kim, Na Meng, Tianyi Zhang, Software Evolution, Handbook of Software Engineering, Springer Nature Switzerland AG, 2019. DOI:https://doi.org/10.1007/978-3-030-00262-6_6. DOI: https://doi.org/10.1007/978-3-030-00262-6_6

Tong Li, An Approach to Modelling Software Evolution Processes, Springer-Verlag Berlin Heidelberg, 2009. DOI:https://doi.org/10.1007/978-3-540-79464-6. DOI: https://doi.org/10.1007/978-3-540-79464-6

Updesh Jaiswal, Amarjeet Prajapati, Optimized Test Case Generation for Basis Path Testing using Improved Fitness Function with PSO, IC3-2021: Proceedings of the 2021 irteenth International Conference on Contemporary Computing, August 2021. DOI:hps://doi.org/10.1145/3474124.3474197. DOI: https://doi.org/10.1145/3474124.3474197

Moheb R. Girgis, Automatic Test Data Generation for Data Flow Testing Using a Genetic Algorithm, Journal of Universal Computer Science, vol. 11, no. 6 (2005), 898-915.

Mohd Anuaruddin Bin Ahmadon, Shingo Yamaguchi, Brij Bhooshan Gupta, A Petri-Net Based Approach for Software Evolution, 2016 7th International Conference on Information and Communication Systems (ICICS), IEEE, 2016. DOI: 10.1109/IACS.2016.7476122. DOI: https://doi.org/10.1109/IACS.2016.7476122

Yumei Wu, Yongli Yu, The Mission Reliability Modeling Methodology for Software Dynamic Evolution, 2013 International Conference on Quality, Reliability, Risk, Maintenance, and Safety Engineering (QR2MSE), IEEE, 2013.

Mohammad Issam Malkawi, Ehab Mohammad Abidah, Ahmed S. Shatnawi, A Software Evolution Process Model: Analysis of Software Failure Causes, Information Sciences Letters, No. 2, 385- 390 (2022). DOI: http://dx.doi.org/10.18576/isl/110209. DOI: https://doi.org/10.18576/isl/110209

Gaurav Kumar, Pradeep Kumar Bhatia, Comparative Analysis of Software Engineering Models from Traditional to Modern Methodologies, 2014 Fourth International Conference on Advanced Computing & Communication Technologies, IEEE, 2014. DOI:DOI 10.1109/ACCT.2014.73. DOI: https://doi.org/10.1109/ACCT.2014.73

Yan Cai,Petri-net-based Modeling of Online Shopping Workflow , 2011 International Conference on Management of e-Commerce and e-Government, IEEE, 2011. DOI: DOI 10.1109/ICMeCG.2011.66. DOI: https://doi.org/10.1109/ICMeCG.2011.66

Khin Haymar Saw Hla, YoungSik Choi, Jong Sou Park, Applying Particle Swarm Optimization to Prioritizing Test Cases for Embedded Real Time Software Retesting, IEEE 8th International Conference on Computer and Information Technology Workshops, IEEE, 2008. DOI:10.1109/CIT.2008.Workshops.104. DOI: https://doi.org/10.1109/CIT.2008.Workshops.104

Chengying Mao, Control Flow Complexity Metrics for Petri Net-based Web Service Composition, Journal of Software, 2010. DOI:10.4304/jsw.5.11.1292-1299. DOI: https://doi.org/10.4304/jsw.5.11.1292-1299

Diogo Freitas1, Luiz Guerreiro Lopes, Fernando Morgado-Dias, Particle Swarm Optimisation: A Historical Review Up to the Current Developments, MDPI, 2020. DOI: https://doi.org/10.3390/e22030362. DOI: https://doi.org/10.3390/e22030362

Jie Yang, Abdesselam Bouzerdoum, A Particle Swarm Optimization Algorithm based on Orthogonal Design, IEEE, 2010. DOI:10.1109/CEC.2010.5586126. DOI: https://doi.org/10.1109/CEC.2010.5586126

Downloads

Published

13-02-2026

Issue

Section

Research Articles

How to Cite

[1]
Rajeeb Sankar Bal and Jibendu Kumar Mantri, “A Comparative Study of the Particle Swarm Optimization and Genetic Algorithm for Software Evolution Process”, Int. J. Sci. Res. Comput. Sci. Eng. Inf. Technol, vol. 12, no. 1, pp. 273–285, Feb. 2026, doi: 10.32628/CSEIT2612131.