Mittuniversitetet

miun.sePublikationer
Ändra sökning
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Enhancing Java Source Code Comprehension throughAutomated Generation of Abstract Textual Descriptions forSoftware Systems
Mittuniversitetet, Fakulteten för naturvetenskap, teknik och medier, Institutionen för kommunikation, kvalitetsteknik och informationssystem (2023-).
Mittuniversitetet, Fakulteten för naturvetenskap, teknik och medier, Institutionen för kommunikation, kvalitetsteknik och informationssystem (2023-).
2025 (Engelska)Självständigt arbete på grundnivå (kandidatexamen), 10 poäng / 15 hpStudentuppsats (Examensarbete)
Abstract [en]

 Understanding large-scale software systems remains asignificant challenge in software engineering, particularly fortasks such as on-boarding, maintenance, and documentation.While existing code summarization tools can assist inunderstanding isolated code snippets or individualfunctions, they often fall short in delivering comprehensive,system-level descriptions of complex code-bases.In this thesis, we propose the System Description Generator(SDG), a proof-of-concept tool that automatically generateshigh-level textual descriptions of Java software systems bycombining static code analysis, knowledge graph (KG)modeling, and large language models (LLMs). SDG extractsarchitectural data using abstract syntax trees (ASTs), stores itin a Neo4j graph, ranks key components based on outgoingrelationships, and prompts an LLM with a structured JSONrepresentation to generate natural language descriptions.To evaluate SDG, we applied it to 34 open-source Javaprojects and assessed the generated descriptions across threedimensions: correctness, relevance, and usefulness. We usedthe automated G-Eval framework for scalable assessmentand selected a subset of four representative projects formanual evaluation to ensure alignment between humanjudgments and automated scores. The results showed highmedian scores for correctness (0.81) and relevance (0.77),confirming the structural and contextual fidelity. Theusefulness score (0.52), though lower than correctness andrelevance, remains reasonably strong given the subjectivenature of user-perceived value, rather than indicating adeficiency of the tool.Overall, we demonstrate the feasibility of combining ASTs,KGs, and LLMs to support system-level softwarecomprehension. The SDG tool and evaluation framework areavailable on the project’s GitHub repository to supportreproducibility and inspire future tools that aid large-scalesoftware comprehension.

Ort, förlag, år, upplaga, sidor
2025. , s. 22
Nyckelord [en]
Software Comprehension, Artificial Intelligence for Software Engineering, Abstract descriptions for complex software systems
Nationell ämneskategori
Programvaruteknik
Identifikatorer
URN: urn:nbn:se:miun:diva-55497OAI: oai:DiVA.org:miun-55497DiVA, id: diva2:1996465
Utbildningsprogram
Programvaruteknik TPVAG 120/180 hp
Handledare
Examinatorer
Tillgänglig från: 2025-09-09 Skapad: 2025-09-09 Senast uppdaterad: 2025-09-25Bibliografiskt granskad

Open Access i DiVA

fulltext(1670 kB)201 nedladdningar
Filinformation
Filnamn FULLTEXT01.pdfFilstorlek 1670 kBChecksumma SHA-512
b9f4631dc21b0b53af8c32941fea31d92a9082a3e9f093d6875c16cbb18cda5656e5821b738d72bb1a458b01885f888276b111ad828d298059ba52ddbe5a8493
Typ fulltextMimetyp application/pdf

Av organisationen
Institutionen för kommunikation, kvalitetsteknik och informationssystem (2023-)
Programvaruteknik

Sök vidare utanför DiVA

GoogleGoogle Scholar
Totalt: 201 nedladdningar
Antalet nedladdningar är summan av nedladdningar för alla fulltexter. Det kan inkludera t.ex tidigare versioner som nu inte längre är tillgängliga.

urn-nbn

Altmetricpoäng

urn-nbn
Totalt: 178 träffar
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf