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 条
  • [31] Enhancing Metaheuristic-Based Online Embedding in Network Virtualization Environments
    Rubio-Loyola, Javier
    Aguilar-Fuster, Christian
    Toscano-Pulido, Gregorio
    Mijumbi, Rashid
    Serrat-Fernandez, Joan
    IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2018, 15 (01): : 200 - 216
  • [32] A conceptual metaheuristic-based framework for improving runoff time series simulation in glacierized catchments
    Mohammadi, Babak
    Vazifehkhah, Saeed
    Duan, Zheng
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2024, 127
  • [33] Optimizing the DNA fragment assembly using metaheuristic-based overlap layout consensus approach
    Uzma
    Halim, Zahid
    APPLIED SOFT COMPUTING, 2020, 92
  • [34] Artificial Afterimage Algorithm: A New Bio-Inspired Metaheuristic Algorithm and Its Clustering Application
    Demir, Murat
    APPLIED SCIENCES-BASEL, 2025, 15 (03):
  • [35] A New Optimization Algorithm for Program Modularization
    Parsa, Saeed
    Mehrabi-Jorshary, Amir
    Hamzei, Mohammad
    INFORMATION COMPUTING AND APPLICATIONS, 2010, 6377 : 293 - 300
  • [36] Novel Initialization Functions for Metaheuristic-Based Online Virtual Network Embedding
    Rubio-Loyola, Javier
    Aguilar-Fuster, Christian
    JOURNAL OF NETWORK AND SYSTEMS MANAGEMENT, 2024, 32 (03)
  • [37] CLUE: Customizing clustering techniques using machine learning for software modularization
    Meng, Fanyi
    Wang, Ying
    Chong, Chun Yong
    Yu, Hai
    Zhu, Zhiliang
    PROCEEDINGS OF THE 15TH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, INTERNETWARE 2024, 2024, : 189 - 198
  • [38] A metaheuristic-based optimum tuning approach for tuned liquid dampers for structures
    Ocak, Ayla
    Bekdas, Gebrail
    Nigdeli, Sinan Melih
    STRUCTURAL DESIGN OF TALL AND SPECIAL BUILDINGS, 2022, 31 (03)
  • [39] To tune or not to tune: rule evaluation for metaheuristic-based sequential covering algorithms
    Minnaert, Bart
    Martens, David
    De Backer, Manu
    Baesens, Bart
    DATA MINING AND KNOWLEDGE DISCOVERY, 2015, 29 (01) : 237 - 272
  • [40] Hybrid Metaheuristic-Based Spatial Modeling and Analysis of Logistics Distribution Center
    Khairunissa, Maryam
    Lee, Hyunsoo
    ISPRS INTERNATIONAL JOURNAL OF GEO-INFORMATION, 2022, 11 (01)