Rethinking Code ReviewWorkflows with LLM Assistance
| dc.contributor.author | Borgar Magnússon, Björn | |
| dc.contributor.author | Steinn Aðalsteinsson, Fannar | |
| dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
| dc.contributor.department | Chalmers University of Technology / Department of Computer Science and Engineering | en |
| dc.contributor.examiner | Gay, Gregory | |
| dc.contributor.supervisor | Cheng, Chih-Hong | |
| dc.date.accessioned | 2025-10-07T12:32:40Z | |
| dc.date.issued | 2025 | |
| dc.date.submitted | ||
| dc.description.abstract | Code 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.coursecode | DATX05 | |
| dc.identifier.uri | http://hdl.handle.net/20.500.12380/310605 | |
| dc.language.iso | eng | |
| dc.relation.ispartofseries | CSE 25-15 | |
| dc.setspec.uppsok | Technology | |
| dc.subject | AI in Software Engineering; Human-AI Collaboration; Software Engineering Practices; Large Language Models (LLMs); Code Review; Empirical Software Engineering; Retrieval-Augmented Generation | |
| dc.title | Rethinking Code ReviewWorkflows with LLM Assistance | |
| dc.type.degree | Examensarbete för masterexamen | sv |
| dc.type.degree | Master's Thesis | en |
| dc.type.uppsok | H | |
| local.programme | Software engineering and technology (MPSOF), MSc |
