A New Metaheuristic-Based Hierarchical Clustering Algorithm for Software Modularization

被引:5
作者
Aghdasifam, Masoud [1 ]
Izadkhah, Habib [1 ]
Isazadeh, Ayaz [1 ]
机构
[1] Univ Tabriz, Fac Math Sci, Dept Comp Sci, Tabriz, Iran
关键词
GENETIC ALGORITHM; OPTIMIZATION; FRAMEWORK; IMPACT;
D O I
10.1155/2020/1794947
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
Software refactoring is a software maintenance action to improve the software internal quality without changing its external behavior. During the maintenance process, structural refactoring is performed by remodularizing the source code. Software clustering is a modularization technique to remodularize artifacts of source code aiming to improve readability and reusability. Due to the NP hardness of the clustering problem, evolutionary approaches such as the genetic algorithm have been used to solve this problem. In the structural refactoring literature, there exists no search-based algorithm that employs a hierarchical approach for modularization. Utilizing global and local search strategies, in this paper, a new search-based top-down hierarchical clustering approach, named TDHC, is proposed that can be used to modularize the system. The output of the algorithm is a tree in which each node is an artifact composed of all artifacts in its subtrees and is a candidate to be a software module (i.e., cluster). This tree helps a software maintainer to have better vision on source code structure to decide appropriate composition points of artifacts aiming to create modules (i.e., files, packages, and components). Experimental results on seven folders of Mozilla Firefox with different functionalities and five other software systems show that the TDHC produces modularization closer to the human expert's decomposition (i.e., directory structure) than the other existing algorithms. The proposed algorithm is expected to help a software maintainer for better remodularization of a source code. The source codes and dataset related to this paper can be accessed at https://github.com/SoftwareMaintenanceLab.
引用
收藏
页数:25
相关论文
共 50 条
  • [41] Visual hierarchical clustering of supply chain using growing hierarchical self-organising map algorithm
    Chattopadhyay, Manojit
    Sengupta, Sourav
    Sahay, B. S.
    INTERNATIONAL JOURNAL OF PRODUCTION RESEARCH, 2016, 54 (09) : 2552 - 2571
  • [42] Metaheuristic-based optimal design of truss structures using algebraic force method
    Kaveh, Ali
    Rad, Ali Shabani
    STRUCTURES, 2023, 50 : 1951 - 1964
  • [43] Two fast metaheuristic-based MPPT techniques for partially shaded photovoltaic system
    Moghassemi, Ali
    Ebrahimi, Shayan
    Padmanaban, Sanjeevikumar
    Mitolo, Massimo
    Holm-Nielsen, Jens Bo
    INTERNATIONAL JOURNAL OF ELECTRICAL POWER & ENERGY SYSTEMS, 2022, 137
  • [44] Euclidean space based hierarchical clusterers combinations: an application to software clustering
    Naseem, Rashid
    Deris, Mustafa Mat
    Maqbool, Onaiza
    Shahzad, Sara
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2019, 22 (Suppl 3): : S7287 - S7311
  • [45] A metaheuristic-based comparative structure for solving discrete space mechanical engineering problem
    Arjomandi, Mohammad Ali
    Asl, Seyed Sajad Mousavi
    Mosallanezhad, Behzad
    Hajiaghaei-Keshteli, Mostafa
    ANNALS OF OPERATIONS RESEARCH, 2024,
  • [46] A Multiobjective Metaheuristic-Based Container Consolidation Model for Cloud Application Performance Improvement
    Bracke, Vincent
    Santos, Jose
    Wauters, Tim
    De Turck, Filip
    Volckaert, Bruno
    JOURNAL OF NETWORK AND SYSTEMS MANAGEMENT, 2024, 32 (03)
  • [47] Security and privacy concerns in social networks mathematically modified metaheuristic-based approach
    Krishna, Raguru Jaya
    Gopalakrishnan, T.
    Divyapushpalakshmi, M.
    Amarendra, K.
    JOURNAL OF DISCRETE MATHEMATICAL SCIENCES & CRYPTOGRAPHY, 2024, 27 (2A) : 371 - 382
  • [48] Control of Microalgae Growth in Artificially Lighted Photobioreactors Using Metaheuristic-Based Predictions
    Minzu, Viorel
    Ifrim, George
    Arama, Iulian
    SENSORS, 2021, 21 (23)
  • [49] A metaheuristic-based downlink power allocation for LTE/LTE-A cellular deployments
    Gonzalez G., David
    Garcia-Lozano, Mario
    Ruiz, Silvia
    Seop Lee, Dong
    WIRELESS NETWORKS, 2014, 20 (06) : 1369 - 1386
  • [50] Metaheuristic-based adaptive curriculum sequencing approaches: a systematic review and mapping of the literature
    Machado, Marcelo de Oliveira Costa
    Bravo, Natalie Ferraz Silva
    Martins, Andre Ferreira
    Bernardino, Heder Soares
    Barrere, Eduardo
    de Souza, Jairo Francisco
    ARTIFICIAL INTELLIGENCE REVIEW, 2021, 54 (01) : 711 - 754