arrow
Return

A graph-based clustering algorithm for software systems modularization

delete2021-05-01
delete26
PRE
AI
B
Babak Pourasghar
H
Habib Izadkhah *
A
Ayaz Isazadeh
S
Shahriar Lotfi
DOI:10.1016/j.infsof.2020.106469delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Context: Clustering algorithms, as a modularization technique, are used to modularize a program aiming to understand large software systems as well as software refactoring. These algorithms partition the source code of the software system into smaller and easy-to-manage modules (clusters). The resulting decomposition is called the software system structure (or software architecture). Due to the NP-hardness of the modularization problem, evolutionary clustering approaches such as the genetic algorithm have been used to solve this problem. These methods do not make much use of the information and knowledge available in the artifact dependency graph which is extracted from the source code. Objective: To overcome the limitations of the existing modularization techniques, this paper presents a new modularization technique named GMA (Graph-based Modularization Algorithm). Methods: In this paper, a new graph-based clustering algorithm is presented for software modularization. To this end, the depth of relationships is used to compute the similarity between artifacts, as well as seven new criteria are proposed to evaluate the quality of a modularization. The similarity presented in this paper enables the algorithm to use graph-theoretic information. Results: To demonstrate the applicability of the proposed algorithm, ten folders of Mozilla Firefox with different domains and functions, along with four other applications, are selected. The experimental results demonstrate that the proposed algorithm produces modularization closer to the human expert's decomposition (i.e., directory structure) than the other existing algorithms. Conclusion: The proposed algorithm is expected to help a software designer in the software reverse engineering process to extract easy-to-manage and understandable modules from source code.
Keywords:
Graph clustering
Clustering algorithms
Software modularization
Software maintenance
Software comprehension
Software architecture
Architecture recovery
errShare
errSave
Enhancing software modularization via semantic outliers filtration and label propagation
err2022-05-01
err5
PREAI
errYang, Kaiyuan; Wang, Junfeng; Fang, Zhiyang; Wu, Peng; Song, Zihua
errShare
errSave
Multi-programming language software systems modularization
err2019-12-01
err16
PREAI
errKargar, Masoud; Isazadeh, Ayaz; Izadkhah, Habib
errShare
errSave
MOPISDE: A collaborative multi-objective information-sharing DE algorithm for software clustering
err2023-09-01
err3
PREAI
errKang, Yan; Xie, Wentao; Wang, Xiaopeng; Wang, Haining; Wang, Xinchao; Li, Jinyuan
errShare
errSave
An explanation of software architecture explanations
err2026-01-12
err0
PREAI
errSatrio A. Rukmono; Filip Zamfirov; Lina Ochoa; Floris Pex; Michel R. V. Chaudron
errShare
errSave
E-SC4R: Explaining Software Clustering for Remodularisation✩
err2022-04-01
err9
errOAAI
errTan, Alvin Jian Jia; Chong, Chun Yong; Aleti, Aldeida
errShare
errSave

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.8K
Citations:
9.5K

Organization

U
University of Tabriz
Scholars:
523
Papers: 234
Citations: 4.6K
Cited Papers

Cited Papers

errShare
errSave
errShare
errSave
Directory-Based Dependency Processing for Software Architecture Recovery
err2018-01-01
err10
errOAAI
errKong, Xianglong; Li, Bixin; Wang, Lulu; Wu, Wensheng
errShare
errSave
Multi-programming language software systems modularization
err2019-12-01
err16
PREAI
errKargar, Masoud; Isazadeh, Ayaz; Izadkhah, Habib
errShare
errSave
Measuring the Impact of Code Dependencies on Software Architecture Recovery Techniques
err2018-02-01
err56
errOAAI
errLutellier, Thibaud; Chollak, Devin; Garcia, Joshua; Tan, Lin; Rayside, Derek; Medvidovic, Nenad; Kroeger, Robert
errShare
errSave
researcher View more