What Do LLM-Based Software Architecture Recovery Methods Actually Do? A Diagnostic Study

Loading...
Thumbnail Image

Authors

Quadri, Syed Ameenuddin

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

Software architecture recovery groups a system’s files into components. It has traditionally been performed by deterministic clustering algorithms; Large Language Models have recently entered the field, reporting single runs with no account of what the method does when it succeeds. This thesis asks what these methods do, running agent configurations from free file reading to knowledge-graph-only exploration, with repeated runs, directory flattening, and identity stripping. Two findings dominate. Recovered groupings mirror the folder tree: flatten the directories and recovery degrades in proportion to the reference architecture’s directory alignment. Component names are memorized: a name-only probe reproduces each system’s published architecture, and stripping every project name, filename, comment and header leaves that naming intact, down to a floor of code identifiers. The two channels substitute, since removing the folder tree raises recitation rather than suppressing it. The contribution is a measurement discipline: report distributions and directory alignment, and check for contamination.

Description

Keywords

Engineering, Computer science, Computer engineering

Citation