Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Enhancing Code Review at Scale with Generative AI and Knowledge Graphs: An Agentic GraphRAG Framework for Enterprise Code Review
Blekinge Institute of Technology, Faculty of Computing, Department of Computer Science.
Blekinge Institute of Technology, Faculty of Computing, Department of Computer Science.
2025 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Background. Code review is critical for ensuring software quality in large-scaledevelopment, yet manual reviewers struggle to scale with growing codebases andorganizational complexity, particularly at large companies like Ericsson. Existingautomated review tools lack the depth needed for expert-level feedback.Objectives. This thesis introduces and evaluates an Assisted Code Reviewer (ACR)system, engineered to leverage project-specific context—such as design guidelines andcommit histories—to generate precise, actionable feedback. The goal is to enhancedeveloper productivity by reducing cognitive load, improve review efficiency acrosslarge teams, and bridge the divide between automated tools and human expertise inenterprise settings.Methods. Using Design Science Research, we first gathered information from rel-evant research and developers at Ericsson. We developed a solution, ACR, thatcombines generative ai-empowered agents along with knowledge graphs through aGraphRag approach. ACR was implemented and was statically evaluated on codechanges from two Ericsson products.Results. ACR effectively delivers valuable, context-enriched feedback, offering de-tailed line-specific comments that pinpoint issues and high-level summaries that con-textualize changes within project goals. Evaluations show that it adds practical util-ity, though its impact on code quality is inconsistent, occasionally missing the markcompared to senior reviewers.Conclusions. ACR provides a scalable, adaptable solution that enhances codereview by integrating seamlessly with version control systems, alleviating reviewerworkload while complementing human expertise.

Place, publisher, year, edition, pages
2025. , p. 57
Keywords [en]
Automated Code Review, GraphRAG, Large Language Models, Agents, Software Quality
National Category
Artificial Intelligence
Identifiers
URN: urn:nbn:se:bth-27905OAI: oai:DiVA.org:bth-27905DiVA, id: diva2:1966831
External cooperation
Ericsson
Subject / course
Degree Project in Master of Science in Engineering 30,0 hp
Educational program
DVAMI Master of Science in Engineering: AI and Machine Learning 300 hp
Presentation
2025-05-22, J1630, Blekringe Tekniska Högskola, Karlskrona, 14:00 (English)
Supervisors
Examiners
Available from: 2025-06-11 Created: 2025-06-10 Last updated: 2025-09-30Bibliographically approved

Open Access in DiVA

fulltext(936 kB)517 downloads
File information
File name FULLTEXT01.pdfFile size 936 kBChecksum SHA-512
006006047ca9d0248d72447d03cde8e193e6d9bb975dcbc77ba5f15cd979abb108179469e0665ea3243d8082774624b16bbde12588d1ec5c3aef8c90f680211c
Type fulltextMimetype application/pdf

By organisation
Department of Computer Science
Artificial Intelligence

Search outside of DiVA

GoogleGoogle Scholar
Total: 518 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 932 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf