Rethinking Code Review Workflows with LLM Assistance: An Empirical Study
Fannar Steinn A{\dh}alsteinsson, Bj\"orn Borgar Magn\'usson, Mislav Milicevic, Adam Nirving Davidsson, Chih-Hong Cheng

TL;DR
This study investigates how large language models can assist in code reviews by identifying challenges in traditional practices and testing two LLM-based tools, showing AI-led reviews are generally preferred but depend on context.
Contribution
It provides empirical insights into integrating LLMs into code review workflows and compares two prototype approaches for enhancing review quality and efficiency.
Findings
AI-led reviews are generally preferred by developers.
Effectiveness of LLM assistance depends on reviewer familiarity and pull request severity.
Challenges include trust issues and false positives in LLM-generated reviews.
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 paper 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, we developed two prototype variations: one offering LLM-generated reviews upfront and the other enabling on-demand interaction. Both utilize a semantic search pipeline based…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Engineering Techniques and Practices · Software Testing and Debugging Techniques
