SSAR: A Novel Software Architecture Recovery Approach Enhancing Accuracy and Scalability
Wei Ding, Ran Mo, Chaochao Wu, Haopeng Song
Abstract
Software architecture is critical for software development and maintenance. As software evolves, its architecture may drift from the original design, resulting in architectural degradation that negatively affects software quality. To effectively manage and maintain software systems, architects need an accurate understanding of the current architecture, but manual analysis is time-consuming and error-prone. Therefore, numerous automated architecture recovery techniques have been developed to facilitate this process. However, existing techniques often face limitations in either accuracy or efficiency, especially when dealing with large-scale software systems. In this paper, we propose a novel architecture recovery approach that integrates semantic similarity and structural dependencies between files to construct a weighted graph. Then it applies an optimized community detection algorithm to partition the graph for software modularization. To evaluate the effectiveness of our approach, we selected nine open-source projects with ground-truth architectures and compared our approach against six state-of-the-art architecture recovery techniques. Experimental results have shown that our approach improves accuracy ranging from 5.0% to 90.9%, 3.8% to 16.9%, and 12.5% to 500% in the three well-known architecture similarity metrics (MoJoFM, a2a, and c2ccvg), respectively. Additionally, it reduces the average execution time by 5% to 99%. In conclusion, our approach not only achieves a more precise recovery of software architecture but also significantly cuts down the time and effort required for the recovery process.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Software Architecture Recovery with Information FusionYiran Zhang, Zhengzi Xu, Chengwei Liu, Hongxu Chen et al.FSE 2023 · 29 citations
- Semantic-Enhanced Automatic Refinement of Architecture Recovery Results Using LLMsYiran Zhang, Chengwei Liu, Yuqiang Sun, Zhengzi Xu et al.ICSE 2026
- GAER: Graph Auto-encoders for Unsupervised Software Architecture RecoveryRakhshanda Jabeen, Morgan Ericsson, Jonas Nordqvist, Anna WingkvistFSE 2026
- BinStruct: Binary Structure Recovery Combining Static Analysis and SemanticsYiran Zhang, Zhengzi Xu, Zhe Lang, Chengyue Liu et al.ASE 2025
- CCGraph: a PDG-based code clone detector with approximate graph matchingYue Zou, Bihuan Ban, Yinxing Xue, Yun XuASE 2020 · 46 citations
