Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

Towards modeling and improving human-centered code review

Gullstrand Heander, Lo LU orcid (2025) In Licentiate thesis 2025(3).
Abstract
Tool-based code review has been an established software engineering practice for at least a decade. However, while software development environments have improved significantly during this time with advanced features for code comprehension, refactoring, and AI support, code review tools have remained more static and are still centered around a two-way textual diff view with features similar to when the first code review tools were introduced.

With the rapid development of artificial intelligence (AI), code review is at a crucial moment. It must adapt to meet the demands of a future where more and more AI generated code needs to be reviewed, while higher efficiency demands are placed on software engineering teams. More and more... (More)
Tool-based code review has been an established software engineering practice for at least a decade. However, while software development environments have improved significantly during this time with advanced features for code comprehension, refactoring, and AI support, code review tools have remained more static and are still centered around a two-way textual diff view with features similar to when the first code review tools were introduced.

With the rapid development of artificial intelligence (AI), code review is at a crucial moment. It must adapt to meet the demands of a future where more and more AI generated code needs to be reviewed, while higher efficiency demands are placed on software engineering teams. More and more capable AI models will soon make it feasible to completely automate code review or offer sophisticated AI support to human code reviewers. Complete automation could potentially offer increased efficiency, but risk losing many of the interpersonal benefits. This gives researchers and software engineers reason to stop and reflect on what the purpose and benefits of code review are and how to best preserve these benefits in the future.

In this thesis, I present a direction for modeling and improving human-centered code review, where code review tools are designed to support the human software engineer, adapt to their needs, and augment their capabilities. The contributions are a prototype for flexible code block comparisons developed using participatory design, an architecture for AI-supported code review, and a cognitive model of code review as decision-making (CRDM). Together, these contributions indicate one way toward the next generation of code review tools, practices, and processes: to use participatory design methodology, cognitive insights from the CRDM model, and AI agent-based architectures to improve code review while focusing on the needs of the human reviewers. (Less)
Please use this url to cite or link to this publication:
author
supervisor
organization
publishing date
type
Thesis
publication status
published
subject
in
Licentiate thesis
volume
2025
issue
3
pages
121 pages
publisher
Department of Computer Science, Lund University
ISSN
1652-4691
project
How can code reviews be made fit-for-purpose?
DAPPER: Seamless, Tailored Code Review
language
English
LU publication?
yes
id
d29fa690-fb49-450e-8a55-b2bbc1ae7ff3
date added to LUP
2025-08-19 21:51:37
date last changed
2025-08-21 16:22:34
@misc{d29fa690-fb49-450e-8a55-b2bbc1ae7ff3,
  abstract     = {{Tool-based code review has been an established software engineering practice for at least a decade. However, while software development environments have improved significantly during this time with advanced features for code comprehension, refactoring, and AI support, code review tools have remained more static and are still centered around a two-way textual diff view with features similar to when the first code review tools were introduced. <br/><br/>With the rapid development of artificial intelligence (AI), code review is at a crucial moment. It must adapt to meet the demands of a future where more and more AI generated code needs to be reviewed, while higher efficiency demands are placed on software engineering teams. More and more capable AI models will soon make it feasible to completely automate code review or offer sophisticated AI support to human code reviewers. Complete automation could potentially offer increased efficiency, but risk losing many of the interpersonal benefits. This gives researchers and software engineers reason to stop and reflect on what the purpose and benefits of code review are and how to best preserve these benefits in the future. <br/><br/>In this thesis, I present a direction for modeling and improving human-centered code review, where code review tools are designed to support the human software engineer, adapt to their needs, and augment their capabilities. The contributions are a prototype for flexible code block comparisons developed using participatory design, an architecture for AI-supported code review, and a cognitive model of code review as decision-making (CRDM). Together, these contributions indicate one way toward the next generation of code review tools, practices, and processes: to use participatory design methodology, cognitive insights from the CRDM model, and AI agent-based architectures to improve code review while focusing on the needs of the human reviewers.}},
  author       = {{Gullstrand Heander, Lo}},
  issn         = {{1652-4691}},
  language     = {{eng}},
  month        = {{08}},
  note         = {{Licentiate Thesis}},
  number       = {{3}},
  publisher    = {{Department of Computer Science, Lund University}},
  series       = {{Licentiate thesis}},
  title        = {{Towards modeling and improving human-centered code review}},
  url          = {{https://lup.lub.lu.se/search/files/225806120/Lo_Gullstrand_Heander_-_Towards_Modeling_and_Improving_Human-Centered_Code_Review.pdf}},
  volume       = {{2025}},
  year         = {{2025}},
}