SSAR: A Novel Software Architecture Recovery Approach Enhancing Accuracy and Scalability
Wei Ding, Ran Mo, Chaochao Wu, Haopeng Song
摘要
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.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- Software Architecture Recovery with Information FusionYiran Zhang, Zhengzi Xu, Chengwei Liu, Hongxu Chen 等FSE 2023 · 被引用 29 次
- Semantic-Enhanced Automatic Refinement of Architecture Recovery Results Using LLMsYiran Zhang, Chengwei Liu, Yuqiang Sun, Zhengzi Xu 等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 等ASE 2025
- CCGraph: a PDG-based code clone detector with approximate graph matchingYue Zou, Bihuan Ban, Yinxing Xue, Yun XuASE 2020 · 被引用 46 次
