Mid Sweden University

miun.sePublikasjoner
Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet 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 (engelsk)Independent thesis Basic level (degree of Bachelor), 10 poäng / 15 hpOppgave
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.

sted, utgiver, år, opplag, sider
2025. , s. 22
Emneord [en]
Software Comprehension, Artificial Intelligence for Software Engineering, Abstract descriptions for complex software systems
HSV kategori
Identifikatorer
URN: urn:nbn:se:miun:diva-55497OAI: oai:DiVA.org:miun-55497DiVA, id: diva2:1996465
Utdanningsprogram
Software Engineering TPVAG 120/180 higher education credits
Veileder
Examiner
Tilgjengelig fra: 2025-09-09 Laget: 2025-09-09 Sist oppdatert: 2025-09-25bibliografisk kontrollert

Open Access i DiVA

fulltext(1670 kB)201 nedlastinger
Filinformasjon
Fil FULLTEXT01.pdfFilstørrelse 1670 kBChecksum SHA-512
b9f4631dc21b0b53af8c32941fea31d92a9082a3e9f093d6875c16cbb18cda5656e5821b738d72bb1a458b01885f888276b111ad828d298059ba52ddbe5a8493
Type fulltextMimetype application/pdf

Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar
Totalt: 202 nedlastinger
Antall nedlastinger er summen av alle nedlastinger av alle fulltekster. Det kan for eksempel være tidligere versjoner som er ikke lenger tilgjengelige

urn-nbn

Altmetric

urn-nbn
Totalt: 178 treff
RefereraExporteraLink to record
Permanent link

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