Lune

ICSE2026Top-tier venue

SSAR: A Novel Software Architecture Recovery Approach Enhancing Accuracy and Scalability

Wei Ding, Ran Mo, Chaochao Wu, Haopeng Song

2026Year

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 about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

lune papers get dc630585-cae4-4772-9ab9-7e9b8af40b2d

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines