{"id":{"repo_id":"ohiolink","oai_identifier":"oai:etd.ohiolink.edu:ucin175811114840057"},"canonical_url":"https://search.ndltd.org/etd/ohiolink/oai:etd.ohiolink.edu:ucin175811114840057","repository":{"repo_id":"ohiolink","name":"OhioLINK","base_url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai"},"display":{"title":"Exploring Software Architecture Classification via Function Call Graphs and Large Language Models","abstract":"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.","abstract_html":"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.","abstract_has_math":false,"creators":["Cui, Jielun"],"institution":"University of Cincinnati","degree_name":"MS","degree_level":"masters","degree_discipline":"Engineering and Applied Science: Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":["Zhao, Yu"],"committee_members":[],"year":2025,"date_issued":"2025-09-19","date_published":"2025-09-19","updated_at":"2026-11-27T05:02:49Z","subjects":["Computer Science","Software Architecture","Function Call Graph","Large Language Model","Static Analysis","Architecture Classification","Code Comprehension"],"languages":["English"],"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."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"http://rave.ohiolink.edu/etdc/view?acc_num=ucin175811114840057","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"http://rave.ohiolink.edu/etdc/view?acc_num=ucin175811114840057","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aohiolink%3Aoai%3Aetd.ohiolink.edu%3Aucin175811114840057","prefix":"oai_dc"},"source_record":{"url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Aetd.ohiolink.edu%3Aucin175811114840057","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeechair","label":"Committee Chair","values":["Zhao, Yu"]},{"key":"dc:creator","label":"Author","values":["Cui, Jielun"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025-09-19"]},{"key":"dc:publisher","label":"Institution","values":["University of Cincinnati / OhioLINK"]},{"key":"dc:type","label":"Dc Type","values":["Electronic Thesis or Dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering and Applied Science: Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["MS"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Cincinnati"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer Science","Software Architecture","Function Call Graph","Large Language Model","Static Analysis","Architecture Classification","Code Comprehension"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["English"]},{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://rave.ohiolink.edu/etdc/view?acc_num=ucin175811114840057"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["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."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf","p.62","3.49 MB"]},{"key":"dc:title","label":"Title","values":["Exploring Software Architecture Classification via Function Call Graphs and Large Language Models"]}]}],"canonical_facts":{"dc:contributor.committeechair":["Zhao, Yu"],"dc:creator":["Cui, Jielun"],"dc:date":["2025-09-19"],"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."],"dc:format":["application/pdf","p.62","3.49 MB"],"dc:identifier":["http://rave.ohiolink.edu/etdc/view?acc_num=ucin175811114840057"],"dc:language":["English"],"dc:publisher":["University of Cincinnati / OhioLINK"],"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."],"dc:subject":["Computer Science","Software Architecture","Function Call Graph","Large Language Model","Static Analysis","Architecture Classification","Code Comprehension"],"dc:title":["Exploring Software Architecture Classification via Function Call Graphs and Large Language Models"],"dc:type":["Electronic Thesis or Dissertation"],"thesis:degree_discipline":["Engineering and Applied Science: Computer Science"],"thesis:degree_level":["masters"],"thesis:degree_name":["MS"],"thesis:institution_name":["University of Cincinnati"]},"updated_at":"2026-11-27T05:02:49Z"}