Program Source-Code Re-Modularization Using a Discretized and Modified Sand Cat Swarm Optimization Algorithm

被引:15
作者
Arasteh, Bahman [1 ]
Seyyedabbasi, Amir [1 ]
Rasheed, Jawad [2 ]
Abu-Mahfouz, Adnan M. [3 ,4 ]
机构
[1] Istinye Univ, Fac Engn & Nat Sci, Dept Software Engn, TR-34396 Istanbul, Turkiye
[2] Nisantasi Univ, Dept Software Engn, TR-34398 Istanbul, Turkiye
[3] Council Sci & Ind Res CSIR, ZA-0184 Pretoria, South Africa
[4] Univ Johannesburg, Dept Elect & Elect Engn Sci, ZA-2006 Johannesburg, South Africa
来源
SYMMETRY-BASEL | 2023年 / 15卷 / 02期
关键词
software module clustering; cohesion; coupling; modularization quality; sand cat swarm optimization algorithm; SOFTWARE; COMPREHENSION; COMBINATION;
D O I
10.3390/sym15020401
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
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.
引用
收藏
页数:28
相关论文
共 3 条
  • [1] Generating the structural graph-based model from a program source-code using chaotic forrest optimization algorithm
    Arasteh, Bahman
    Ghanbarzadeh, Reza
    Gharehchopogh, Farhad Soleimanian
    Hosseinalipour, Ali
    EXPERT SYSTEMS, 2023, 40 (06)
  • [2] Modified Sand Cat Swarm Optimization Algorithm for Solving Constrained Engineering Optimization Problems
    Wu, Di
    Rao, Honghua
    Wen, Changsheng
    Jia, Heming
    Liu, Qingxin
    Abualigah, Laith
    MATHEMATICS, 2022, 10 (22)
  • [3] A Modified Horse Herd Optimization Algorithm and Its Application in the Program Source Code Clustering
    Arasteh, Bahman
    Gunes, Peri
    Bouyer, Asgarali
    Gharehchopogh, Farhad Soleimanian
    Banaei, Hamed Alipour
    Ghanbarzadeh, Reza
    COMPLEXITY, 2023, 2023