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 条
  • [1] A graph-based clustering algorithm for software systems modularization
    Pourasghar, Babak
    Izadkhah, Habib
    Isazadeh, Ayaz
    Lotfi, Shahriar
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 133
  • [2] Metaheuristic-based time series clustering for anomaly detection in manufacturing industry
    Woong Hyun Suh
    Sanghoun Oh
    Chang Wook Ahn
    Applied Intelligence, 2023, 53 : 21723 - 21742
  • [3] Metaheuristic-based time series clustering for anomaly detection in manufacturing industry
    Suh, Woong Hyun
    Oh, Sanghoun
    Ahn, Chang Wook
    APPLIED INTELLIGENCE, 2023, 53 (19) : 21723 - 21742
  • [4] Cooperative clustering for software modularization
    Naseem, Rashid
    Maqbool, Onaiza
    Muhammad, Siraj
    JOURNAL OF SYSTEMS AND SOFTWARE, 2013, 86 (08) : 2045 - 2062
  • [5] The type of supplier involvement in new product development in the automotive industry: metaheuristic-based K-means clustering and analytic hierarchical process methods
    Anari, Esmat Taghipour
    Zegordi, Seyed Hessameddin
    Albadvi, Amir
    JOURNAL OF ADVANCES IN MANAGEMENT RESEARCH, 2025, 22 (01) : 90 - 110
  • [6] Product portfolio planning: a metaheuristic-based simulated annealing algorithm
    Sadeghi, A.
    Alem-Tabriz, A.
    Zandieh, M.
    INTERNATIONAL JOURNAL OF PRODUCTION RESEARCH, 2011, 49 (08) : 2327 - 2350
  • [7] A new framework for metaheuristic-based frequent itemset mining
    Djenouri, Youcef
    Djenouri, Djamel
    Belhadi, Asma
    Fournier-Viger, Philippe
    Lin, Jerry Chun-Wei
    APPLIED INTELLIGENCE, 2018, 48 (12) : 4775 - 4791
  • [8] A new framework for metaheuristic-based frequent itemset mining
    Youcef Djenouri
    Djamel Djenouri
    Asma Belhadi
    Philippe Fournier-Viger
    Jerry Chun-Wei Lin
    Applied Intelligence, 2018, 48 : 4775 - 4791
  • [9] Hierarchical Clustering Algorithm Based on a New Measure
    Zhang Guofen
    Ye Jianjun
    COMPREHENSIVE EVALUATION OF ECONOMY AND SOCIETY WITH STATISTICAL SCIENCE, 2009, : 1026 - 1030
  • [10] An Efficient Metaheuristic-Based Clustering with Routing Protocol for Underwater Wireless Sensor Networks
    Subramani, Neelakandan
    Mohan, Prakash
    Alotaibi, Youseef
    Alghamdi, Saleh
    Khalaf, Osamah Ibrahim
    SENSORS, 2022, 22 (02)