Rethinking Code ReviewWorkflows with LLM Assistance

dc.contributor.authorBorgar Magnússon, Björn
dc.contributor.authorSteinn Aðalsteinsson, Fannar
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerGay, Gregory
dc.contributor.supervisorCheng, Chih-Hong
dc.date.accessioned2025-10-07T12:32:40Z
dc.date.issued2025
dc.date.submitted
dc.description.abstractCode reviews are a critical yet time-consuming aspect of modern software development, increasingly challenged by growing system complexity and the demand for faster delivery. This thesis presents a study conducted at WirelessCar Sweden AB, combining an exploratory field study of current code review practices with a field experiment involving two variations of an LLM-assisted code review tool. The field study identifies key challenges in traditional code reviews, including frequent context switching, insufficient contextual information, and highlights both opportunities (e.g., automatic summarization of complex pull requests) and concerns (e.g., false positives and trust issues) in using LLMs. In the field experiment, two prototype variations were developed: one offering LLM-generated reviews upfront and the other enabling on-demand interaction. Both utilize a semantic search pipeline based on retrieval-augmented generation to assemble relevant contextual information for the review, thereby tackling the uncovered challenges. Developers evaluated both variations in real-world settings: AI-led reviews are overall more preferred, while still being conditional on the reviewers’ familiarity with the code base, as well as on the severity of the pull request.
dc.identifier.coursecodeDATX05
dc.identifier.urihttp://hdl.handle.net/20.500.12380/310605
dc.language.isoeng
dc.relation.ispartofseriesCSE 25-15
dc.setspec.uppsokTechnology
dc.subjectAI in Software Engineering; Human-AI Collaboration; Software Engineering Practices; Large Language Models (LLMs); Code Review; Empirical Software Engineering; Retrieval-Augmented Generation
dc.titleRethinking Code ReviewWorkflows with LLM Assistance
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeSoftware engineering and technology (MPSOF), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 25-15 BBM FSA.pdf
Storlek:
3.1 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: