The open-source-software movement is commonly cited to have a diversity problem. In some ways it reflects that of the general gender disparity in computing, but in general is assumed to be even more severe. The same can be extended to the racial and ethnic diversity of the movement. "Diversity" in this article uses the academic Critical Theory definition.

The topic has been and continues to be the subject of significant controversy within the open-source community.

Diversity in open-source software

Background

Open source software (OSS) is a non-traditional model of software development, where source code is created by a number of virtual volunteers and can be modified by other members of the community. The number of developers working on an OSS project can range from few to thousands but often in many projects, only developers deemed trustworthy by the project maintainers will have the privilege of making additions to the main repository.

Diversity in open-source software

The software developed is freely available for use and the number of users varies from few to many millions. Over time, as OSS has continued to grow and offer new solutions to everyday problems, an increasingly diverse user base has continued to evolve. With time and growing usage of OSS projects as new solutions, brings an increasingly diverse user base. In comparison, since the creation of OSS in early 1990's, the community of OSS developers has remained dominated by young men.

Diversity in open-source software

Obstacles for inclusion

Hostile Culture

A common criticism levelled at the open source community is that critiques of code contributed to projects have a tendency to become personal attacks. In GitHub's 2017 survey, 50% of the 5,500 respondents claimed they had witnessed toxic interactions while working on open-source projects, and that 18% of them had suffered through a negative interaction. Dismissive responses, conflict, and unwelcoming language were cited as the third, fourth, and sixth biggest problems with open-source respectively.

An oft-repeated sentiment throughout the community is that conflict isn't widespread, but rather quite visible, due to the public nature of forums and mailing lists. The figures, however, make this idea questionable. Some members of the community have cited the community's toxicity as the main reason for open-source's diversity problem.

Gender Bias

In 2017, 3 million "pull requests" were examined from 330,000 GitHub users, 21,000 of those were women, and found code written by women to be accepted more often (78.6%) than code written by men (74.6%). In the cases of developers who were not insiders of a project and those whose gender was assumed identifiable by username or profile picture, code by men was approved at higher rates. The presence of gender bias and its effect on lack of gender diversity within OSS communities is believed true by the researches involved in this project.

Gender diversity

The more recent entering of women into the OSS movement has been suggested as the cause of their underrepresentation in the field; of all women who had contributed to OSS up until 2013, 38.45% of them began to do so from 2009 to 2013, in comparison to only 18.75% of men.

The gender ratio in open source is even greater than the field-wide gender disparity in computing. This has been found by a number of surveys: A 2002 survey of 2,784 open-source-software developers found that 1.1% of them were women. A 2013 survey of 2,183 open-source contributors found that 81.4% were men and 10.4% were women. This survey included both software contributors and non-software contributors and women were much more likely to be non-software contributors. A 2017 survey of 5,500 contributors to projects on GitHub found that 95% of contributors were men and 3% were women.

In 2015 Red Hat started the Women in Open Source Awards, whose are as follows:

Racial and ethnic diversity

Developers identifying as ethnic and national minorities, specifically Black people and Latinos are considered to be underrepresented in OSS.

Of 5,500 Open Source developers surveyed in 2017, the representation of immigrants, from and to anywhere in the world, was 26%. While 37.8% of professional computer programmers in the U.S. workforce identified as ethnic or national minorities in 2017, only 16% did in Open Source.