University of Cincinnati
Exploring Software Architecture Classification via Function Call Graphs and Large Language Models
Abstract
dc:descriptionAs software systems grow in complexity and scale, understanding their overall architecture becomes increasingly challenging. Traditional architecture recovery methods often rely on static analysis and expert interpretation, which can be time-consuming, inconsistent across projects, and difficult to apply at scale. Meanwhile, Large Language Models (LLMs) have demonstrated strong capabilities in local code understanding tasks such as code completion and comment generation, but their effectiveness in system-level, architecture-style classification remains underexplored. This study investigates the feasibility of leveraging function call graphs as structured representations to support architecture classification tasks using LLMs. We propose a lightweight workflow based on PyCallGraph2 to generate call graphs for Python projects, capturing internal call hierarchies and dependencies in an interpretable format. These graphs serve as inputs to LLMs to assist in recognizing common architecture styles, including MVC, Layered, and Repository patterns. Our work emphasizes the design and exploration of this approach rather than providing a fully automated solution. We discuss the methodological considerations, implementation details, and potential of combining static analysis outputs with the reasoning capabilities of modern LLMs. This exploration aims to lay the groundwork for more scalable and interpretable architecture analysis tools that can reduce manual effort and support software maintenance, documentation, and refactoring tasks in practice.
Degree
thesis:*- Name thesis:degree_name
- MS
- Level thesis:degree_level
- masters
- Discipline thesis:degree_discipline
- Engineering and Applied Science: Computer Science
- Grantor dc:publisher
- University of Cincinnati
- Year dc:date
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Cui, Jielun
- Chair dc:contributor.committeechair
-
- Zhao, Yu
Subjects
dc:subject × 7Rights
dc:rights- Statement dc:rights
-
- restricted--full text unavailable until 2027-08-09
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=ucin175811114840057