One of expensive stages of the software lifecycle is its maintenance. Software maintenance will be much simpler if its structural models are available. Software module clustering is thought to be a practical reverse engineering method for building software structural models from source code. The most crucial goals in software module clustering are to minimize connections between created clusters, maximize internal connections within clusters, and maximize clustering quality. It is thought that finding the best software clustering model is an NP-complete task. The key shortcomings of the earlier techniques are their low success rates, low stability, and insufficient modularization quality. In this paper, for effective clustering of software source code, a discretized sand cat swarm optimization (SCSO) algorithm has been proposed. The proposed method takes the dependency graph of the source code and generates the best clusters for it. Ten standard and real-world benchmarks were used to assess the performance of the suggested approach. The outcomes show that the quality of clustering is improved when a discretized SCSO algorithm was used to address the software module clustering issue. The suggested method beats the previous heuristic approaches in terms of modularization quality, convergence speed, and success rate.
Reference:
Arasteh, B., Seyyedabbasi, A., Rasheed, J. & Abu-Mahfouz, A.M. 2022. Program source-code re-modularization using a discretized and modified sand cat swarm optimization algorithm. Symmetry, 15(2). http://hdl.handle.net/10204/13020
Arasteh, B., Seyyedabbasi, A., Rasheed, J., & Abu-Mahfouz, A. M. (2022). Program source-code re-modularization using a discretized and modified sand cat swarm optimization algorithm. Symmetry, 15(2), http://hdl.handle.net/10204/13020
Arasteh, B, A Seyyedabbasi, J Rasheed, and Adnan MI Abu-Mahfouz "Program source-code re-modularization using a discretized and modified sand cat swarm optimization algorithm." Symmetry, 15(2) (2022) http://hdl.handle.net/10204/13020
Arasteh B, Seyyedabbasi A, Rasheed J, Abu-Mahfouz AM. Program source-code re-modularization using a discretized and modified sand cat swarm optimization algorithm. Symmetry, 15(2). 2022; http://hdl.handle.net/10204/13020.