arrow
Return

Associating working memory capacity and code change ordering with code review performance

delete2019-01-02
delete30
PRE
AI
T
Tobias Baum *
K
Kurt Schneider
A
Alberto Bacchelli
DOI:10.1007/s10664-018-9676-8delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Change-based code review is a software quality assurance technique that is widely used in practice. Therefore, better understanding what influences performance in code reviews and finding ways to improve it can have a large impact. In this study, we examine the association of working memory capacity and cognitive load with code review performance and we test the predictions of a recent theory regarding improved code review efficiency with certain code change part orders. We perform a confirmatory experiment with 50 participants, mostly professional software developers. The participants performed code reviews on one small and two larger code changes from an open source software system to which we had seeded additional defects. We measured their efficiency and effectiveness in defect detection, their working memory capacity, and several potential confounding factors. We find that there is a moderate association between working memory capacity and the effectiveness of finding delocalized defects, influenced by other factors, whereas the association with other defect types is almost non-existing. We also confirm that the effectiveness of reviews is significantly larger for small code changes. We cannot conclude reliably whether the order of presenting the code change parts influences the efficiency of code review.
Keywords:
Change-based code review
Working memory
Individual differences
Code ordering
Cognitive support
Cognitive load
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Empirical Software Engineering cover
Empirical Software Engineering
IF:
3.6
Papers:
1.9K
Citations:
5.3K

Organization

L
Leibniz University Hannover
Scholars:
1.0W
Papers: 8.5K
Citations: 1.1W
U
university of zurich
Scholars:
5.0W
Papers: 4.0W
Citations: 65