Back to search

University of Cincinnati

Exploring Software Architecture Classification via Function Call Graphs and Large Language Models

Abstract

dc:description

As 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 × 7

Rights

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.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Cui, Jielun. Exploring Software Architecture Classification via Function Call Graphs and Large Language Models. masters thesis, University of Cincinnati, 2025. http://rave.ohiolink.edu/etdc/view?acc_num=ucin175811114840057