Design of Flexible Code Block Comparisons to Improve Code Review of Refactored Code

Research output: Chapter in Book/Report/Conference proceedingPaper in conference proceedingpeer-review

28 Downloads (Pure)

Abstract

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 it
without any hints or instructions.
Original languageEnglish
Title of host publicationProgramming '24: Companion Proceedings of the 8th International Conference on the Art, Science, and Engineering of Programming
EditorsEmma Söderberg, Luke Church
PublisherAssociation for Computing Machinery (ACM)
Pages57-67
Number of pages11
ISBN (Electronic)979-8-4007-0634-9
DOIs
Publication statusPublished - 2024 Jul 9
Event10th Edition of the Programming Experience Workshop, PX/24 - Lund, Sweden
Duration: 2024 Mar 112024 Mar 11

Workshop

Workshop10th Edition of the Programming Experience Workshop, PX/24
Country/TerritorySweden
CityLund
Period2024/03/112024/03/11

Subject classification (UKÄ)

  • Computer Sciences
  • Human Computer Interaction

Free keywords

  • code review
  • collaborative design
  • double diamond design process
  • focus group

Fingerprint

Dive into the research topics of 'Design of Flexible Code Block Comparisons to Improve Code Review of Refactored Code'. Together they form a unique fingerprint.

Cite this