The State of Open-Source Software
The State of OSS Report - We decided to evaluate top open-source projects from GitHub on their EngOps performance, and, by treating an open-source community as an engineering organization, see how they compare to their closed source counterparts. Some interesting findings in here.
Chris Rupley
Browse chapters
Share
August 3, 2022
The annual State of DevOps reports have shown that 4 key metrics (known as the DORA metrics) are important indicators of a software engineering organization's health. Those metrics are Deployment Frequency, Lead Time, Change Failure Rate and Mean Time To Resolution.
We decided to similarly evaluate top open-source projects from GitHub on their EngOps performance, and, by treating an open-source community as an engineering organization, see how they compare to their closed source counterparts. Now, instead of relying on surveys, we leverage the fact that open-source projects are, well, open, and use actual GitHub data :)
We limited this evaluation to the 100 most popular (stars, trendy) public repositories on GitHub that have the following characteristics:
- software projects only (exclude things like lists and guides)
- projects that use issues to track bugs, and GitHub releases, which is the concept most similar to deployments in the DORA literature.
(Full list in Appendix A)
DORA metrics involve deployments and incident data. However, OSS projects are not centered around those concepts. Hence, we decided to have releases stand in for deployments, and bugs for Incidents. And this is how our adapted DORA metrics for OSS were born:
- Release Frequency
- Lead Time for Changes (measured as the time for a change to go from a PR being opened to a Release)
- Bugs per Release
- Mean Time To Resolve Bugs (measured as the duration for which bugs were open)
We also captured the number of contributors and Github stars.
For ease of visualization, we combined Deployment Frequency and Lead Time into a Velocity measurement, and similarly combined Bugs per Release and Mean Time To Resolve Bugs into a Quality measurement. Here is how they fared on those metrics.
Some interesting takeaways emerged out of this:
1. A New set of Benchmarks for OSS
Since releases and bugs have different life cycles than deployments and incidents, we decided to rescale the benchmark cutoffs to be aligned with the OSS release process. Ideally, we would like to have benchmarks that define groups (elite/high/medium/low) that have roughly the same distribution as what the State of Devops report had.
In 2021, that distribution was 26/40/28/7. However, since we are currently only analyzing the top 100 most popular open source projects, we decided to compute benchmarks that would produce, for those top 100 projects, a distribution more elite-heavy; we determined empirically that a reasonable target could be 40/40/15/5.
The benchmarks are summarized below.
Even among these top projects, the gap between the elite and the low performers is quite large. Compared to the low performers, elite projects have:
- 13x shorter lead times from commit to release
- 10x higher release frequency
- 27x less time to restore service after a failure
- 120x lower failures per release
2. There is a positive quality/velocity relationship, but it is not strong
The State of DevOps report consistently shows that velocity and quality ARE correlated, i.e. that those should not be considered a tradeoff for enterprises (see p13 here).
For OSS projects, the correlation is still there, but not as strong. Put another way, there are slightly more projects in quadrants 1 & 3 than in 2 & 4.
3. Growing pains
Among the top OSS repos, the tail end (in popularity) performs better both on quality and velocity. Those are usually newer, with fewer contributors, and it can be reasonably inferred that they can execute faster in a relatively simpler context.
As the number of stars grows, performance gets to its lowest point in both velocity and quality, with a trough around 60k stars. Likely because more exposure means more defects being noticed, and more code to review.
And finally, things get better again for the most popular ones. Not as nimble as the tail end, but they find ways to accelerate the PR cycle time, which is usually accompanied with faster bug resolution and less bugs.
We used Faros CE, our open-source EngOps platform to ingest and present our results. Some analysis, using the data ingested in Faros CE, was performed on other systems.
Here is a link to the full dashboard.
Curious about Faros CE?
Head on over to GitHub to get started today, and join us on our Slack channel for questions, discussions, and to meet the community.
Appendix
Repos In this Analysis
- 3b1b/manim
- airbnb/lottie-android
- alibaba/arthas
- angular/angular
- ant-design/ant-design
- apache/dubbo
- apache/superset
- apple/swift
- babel/babel
- caddyserver/caddy
- carbon-app/carbon
- certbot/certbot
- cli/cli
- coder/code-server
- commaai/openpilot
- cypress-io/cypress
- denoland/deno
- elastic/elasticsearch
- electron/electron
- elemefe/element
- etcd-io/etcd
- ethereum/go-ethereum
- eugeny/tabby
- expressjs/express
- facebook/docusaurus
- facebook/jest
- facebook/react
- fatedier/frp
- gatsbyjs/gatsby
- gin-gonic/gin
- go-gitea/gitea
- gogs/gogs
- gohugoio/hugo
- google/zx
- grpc/grpc
- hashicorp/terraform
- homebrew/brew
- huggingface/transformers
- iamkun/dayjs
- iina/iina
- ionic-team/ionic-framework
- julialang/julia
- keras-team/keras
- kong/kong
- laurent22/joplin
- lerna/lerna
- localstack/localstack
- mastodon/mastodon
- mermaid-js/mermaid
- microsoft/terminal
- microsoft/vscode
- minio/minio
- moby/moby
- mrdoob/three.js
- mui/material-ui
- nationalsecurityagency/ghidra
- nativefier/nativefier
- neovim/neovim
- nervjs/taro
- nestjs/nest
- netdata/netdata
- nodejs/node
- obsproject/obs-studio
- pandas-dev/pandas
- parcel-bundler/parcel
- photonstorm/phaser
- pi-hole/pi-hole
- pingcap/tidb
- pixijs/pixijs
- preactjs/preact
- prettier/prettier
- protocolbuffers/protobuf
- psf/requests
- puppeteer/puppeteer
- pytorch/pytorch
- rclone/rclone
- redis/redis
- remix-run/react-router
- rust-lang/rust
- scikit-learn/scikit-learn
- skylot/jadx
- socketio/socket.io
- spring-projects/spring-framework
- storybookjs/storybook
- syncthing/syncthing
- tauri-apps/tauri
- tensorflow/models
- tensorflow/tensorflow
- textualize/rich
- tiangolo/fastapi
- traefik/traefik
- vercel/next.js
- videojs/video.js
- vitejs/vite
- vlang/v
- vuejs/vue
- vuejs/vue-cli
- vuetifyjs/vuetify
- webpack/webpack
More articles for you
Editor's pick
Ben Cochran, VP of Developer Enablement at Autodesk, sat down with Vitaly Gordon, Co-founder and CEO of Faros AI, at the San Francisco Engineering Leadership Council annual event, for a conversation about Autodesk’s developer productivity case study and data-driven approach to engineering.
Editor's pick
GitHub Copilot is one of the fastest adopted tools in the history of software development. One year after its release, over 1 million developers and 20,000 organizations are using the tool. But how to measure its impact on your engineering operations? Read on..
Editor's pick
I am delighted to announce that we have raised $20M in Series-A financing, led by one of the most successful VC investors in Silicon Valley and the first board member in iconic companies like Gitlab, Splunk, Fastly, and Bill.com, David Hornik of Lobby Capital...
Get started with Faros AI today!
Start your free trial now and get the full picture in minutes.
No credit card required.