An architecture refactoring approach to reducing software hierarchy complexity

Yongxin Zhao, Wenhan Wu, Yuan Fei*, Zhihao Liu, Yang Li, Yilong Yang*, Ling Shi, Bo Zhang

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Software complexity is the very essence of computer programming. As the complexity increases, the potential risks and defects of software systems will increase. This makes the software correctness analysis and the software quality improvement more difficult. In this paper, we present a quantitative metric to describe the complexity of a hierarchical software and a Complexity-oriented Software Architecture Refactoring (CoSSR) approach to reduce the complexity. The main idea is to identify and then reassemble subcomponents into one hierarchical component, which achieves minimum complexity in terms of the solution algorithm. Moreover, our algorithm can be improved by introducing partition constraint, heuristic search strategy, and spectral clustering. We implement the proposed method as an automated refactoring tool and demonstrate our algorithm through a case study of battery management system (BMS). The results show that our approach is more efficient and effective to reduce the complexity of hierarchical software system.

Original languageEnglish
Article numbere2573
JournalJournal of Software: Evolution and Process
Volume36
Issue number4
DOIs
StatePublished - Apr 2024

Keywords

  • complexity reduction
  • hierarchy complexity
  • software architecture refactoring

Fingerprint

Dive into the research topics of 'An architecture refactoring approach to reducing software hierarchy complexity'. Together they form a unique fingerprint.

Cite this