Code reviews in open source projects : how do gender biases affect participation and outcomes?

被引:2
|
作者
Sultana, Sayma [1 ]
Turzo, Asif Kamal [1 ]
Bosu, Amiangshu [1 ]
机构
[1] Wayne State Univ, Dept Comp Sci, Detroit, MI 48202 USA
基金
美国国家科学基金会;
关键词
Code review; Diversity and inclusion; Pull requests; Gender bias; OPEN-SOURCE SOFTWARE; REGRESSION-MODELS; PREDICTION; DEVELOPERS; PATCHES;
D O I
10.1007/s10664-023-10324-9
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
ContextContemporary software development organizations lack diversity, and the ratios of women in Free and Open-Source Software (FOSS) communities are even lower than the industry average. Although the results of recent studies hint at the existence of biases against women, it is unclear to what extent such biases influence the outcomes of various software development tasks.ObjectiveThis study conceptually replicates two recent studies by Terrell et al. and Bosu and Sultana that investigated gender biases in FOSS communities. We aim to identify whether the outcomes of or participation in code reviews (or pull requests) are influenced by the gender of a developer. In particular, we focus on two outcome aspects (i.e., code acceptance, and review interval) and one participation aspect (i.e., code review participation) of code review processes.MethodWith this goal, this study includes a total of 1010 FOSS projects. Ten out of those projects use Gerrit-based code reviews. The remaining 1000 are randomly selected from the GHTorrent dataset based on a stratified sampling of projects fitting certain criteria. We divided GitHub projects into four groups based on the number of distinct contributors. We developed six regression models for each of the 14 datasets (i.e., 10 Gerrit based and 4 GitHub-based) to identify if code acceptance, review intervals, and code review participation differ based on the gender and gender-neutral profile of a developer.ResultsOur results find significant gender biases during code acceptance among 13 out of the 14 datasets, with seven favoring men and the remaining six favoring women. We found significant differences between men and women in terms of code review intervals, with women encountering longer delays than men in three cases and the opposite in seven. Our results indicate reviewer selection as one of the most gender-biased aspects, with 12 out of 14 datasets exhibiting bias. A total of 11 out of the 14 cases show women having significantly lower code review participation than their men colleagues. Since most of the review assignments are based on invitations, this result suggests possible affinity biases among the developers. We also noticed a significantly higher likelihood of women using gender-neutral profiles. Supporting Terrell et al.'s claim, women with gender-neutral profiles had higher odds of code acceptance than men among three Gerrit-based projects. However, contradicting their results, we found significantly lower odds of code acceptance for women with gender-neutral profiles across all four GitHub project groups.ConclusionsThough gender bias exists among many projects, the direction and amplitude of that bias vary based on project size, community, and culture. Similar bias mitigation strategies may not work across all communities, as the characteristics of biases and their underlying causes differ. As women are less likely to be invited for reviews, FOSS projects should take initiatives to ensure the equitable selection of women as reviewers.
引用
收藏
页数:43
相关论文
共 50 条
  • [31] Do Open Source Software Projects Conduct Tests Enough?
    Takasawa, Ryohei
    Sakamoto, Kazunori
    Ihara, Akinori
    Washizaki, Hironori
    Fukazawa, Yoshiaki
    [J]. PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2014, 2014, 8892 : 322 - 325
  • [32] How do annotations affect Java']Java code readability?
    Guerra, Eduardo
    Gomes, Everaldo
    Ferreira, Jeferson
    Wiese, Igor
    Lima, Phyllipe
    Gerosa, Marco
    Meirelles, Paulo
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (03)
  • [33] Why Do Newcomers Abandon Open Source Software Projects?
    Steinmacher, Igor
    Wiese, Igor
    Chaves, Ana Paula
    Gerosa, Marco Aurelio
    [J]. 2013 6TH INTERNATIONAL WORKSHOP ON COOPERATIVE AND HUMAN ASPECTS OF SOFTWARE ENGINEERING (CHASE), 2013, : 25 - 32
  • [34] Do open source software projects conduct tests enough?
    [J]. Takasawa, Ryohei, 1600, Springer Verlag (8892):
  • [35] How Do Monetary Incentives Affect Online Product Reviews and Sales?
    Wang, Shuting
    Pavlou, Paul A.
    [J]. AMCIS 2015 PROCEEDINGS, 2015,
  • [36] What Do The Asserts in a Unit Test Tell Us About Code Quality? A Study on Open Source and Industrial Projects
    Aniche, Mauricio Finavaro
    Oliva, Gustavo Ansaldi
    Gerosa, Marco Aurelio
    [J]. PROCEEDINGS OF THE 17TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR 2013), 2013, : 111 - 120
  • [37] Do barbiturates affect how GABAA receptors open or how they close?
    Akk, G
    Steinbach, JH
    [J]. MOLECULAR AND BASIC MECHANISMS OF ANESTHESIA, 2002, : 143 - 150
  • [38] How to Support Newcomers Onboarding to Open Source Software Projects
    Steinmacher, Igor
    Gerosa, Marco Aurelio
    [J]. OPEN SOURCE SOFTWARE: MOBILE OPEN SOURCE TECHNOLOGIES, 2014, 427 : 199 - 201
  • [39] How README files are structured in open source Java projects
    Liu, Yuyang
    Noei, Ehsan
    Lyons, Kelly
    [J]. Information and Software Technology, 2022, 148
  • [40] How to support newcomers onboarding to open source software projects
    [J]. 1600, Springer Science and Business Media, LLC (427):