@inproceedings{1170, keywords = {automation, fMRI, gender, eye-tracking, code review}, author = {Yu Huang and Kevin Leach and Zohreh Sharafi and Nicholas McKay and Tyler Santander and Westley Weimer}, title = {Biases and Differences in Code Review Using Medical Imaging and Eye-Tracking: Genders, Humans, and Machines}, abstract = {Code review is a critical step in modern software quality assurance, yet it is vulnerable to human biases. Previous studies have clarified the extent of the problem, particularly regarding biases against the authors of code,but no consensus understanding has emerged. Advances in medical imaging are increasingly applied to software engineering, supporting grounded neurobiological explorations of computing activities, including the review, reading, and writing of source code. In this paper, we present the results of a controlled experiment using both medical imaging and also eye tracking to investigate the neurological correlates of biases and differences between genders of humans and machines (e.g., automated program repair tools) in code review. We find that men and women conduct code reviews differently, in ways that are measurable and supported by behavioral, eye-tracking and medical imaging data. We also find biases in how humans review code as a function of its apparent author, when controlling for code quality. In addition to advancing our fundamental understanding of how cognitive biases relate to the code review process, the results may inform subsequent training and tool design to reduce bias.}, year = {2020}, journal = {28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering}, pages = {456–468}, month = {11/2020}, publisher = {Association for Computing Machinery}, address = {New York, NY, USA}, isbn = {9781450370431}, url = {https://doi.org/10.1145/3368089.3409681}, doi = {10.1145/3368089.3409681}, }