TY - GEN
T1 - Design of Flexible Code Block Comparisons to Improve Code Review of Refactored Code
AU - Heander, Lo
AU - Söderberg, Emma
AU - Rydenfält, Christofer
PY - 2024/7/9
Y1 - 2024/7/9
N2 - Code review occupies a significant amount of developers’ work time and is an established practice in modern software development. Despite misaligments between users’ goals and the code review tools and processes pointed out by recent research, the code review tooling has largely stayed the same since the early 90s. Improving these tools, even slightly, has the potential for a large impact spread out over time and the large developer community. In this paper, we use the Double Diamond design process to work together with a team of industry practitioners to find, refine, prototype, and evaluate ways to make it easier to compare refactored code blocks and find previously hard-to-see changes in them.The results show that a flexible comparison modal integrated into Gerrit could reduce the mental load of code review on refactored code. Potentially, it could also have effects on how code is written by no longer discouraging refactoring due to it complicating the review. The user interface created in this collaborative manner was also intuitive enough for all of the participants to be able to use itwithout any hints or instructions.
AB - Code review occupies a significant amount of developers’ work time and is an established practice in modern software development. Despite misaligments between users’ goals and the code review tools and processes pointed out by recent research, the code review tooling has largely stayed the same since the early 90s. Improving these tools, even slightly, has the potential for a large impact spread out over time and the large developer community. In this paper, we use the Double Diamond design process to work together with a team of industry practitioners to find, refine, prototype, and evaluate ways to make it easier to compare refactored code blocks and find previously hard-to-see changes in them.The results show that a flexible comparison modal integrated into Gerrit could reduce the mental load of code review on refactored code. Potentially, it could also have effects on how code is written by no longer discouraging refactoring due to it complicating the review. The user interface created in this collaborative manner was also intuitive enough for all of the participants to be able to use itwithout any hints or instructions.
KW - code review
KW - collaborative design
KW - double diamond design process
KW - focus group
U2 - 10.1145/3660829.3660842
DO - 10.1145/3660829.3660842
M3 - Paper in conference proceeding
SP - 57
EP - 67
BT - Programming '24: Companion Proceedings of the 8th International Conference on the Art, Science, and Engineering of Programming
A2 - Söderberg, Emma
A2 - Church, Luke
PB - Association for Computing Machinery (ACM)
T2 - 10th Edition of the Programming Experience Workshop, PX/24
Y2 - 11 March 2024 through 11 March 2024
ER -