See how many people use a Java library, with Sourcegraph badges

By Beyang Liu on April 11, 2017

Update (September 20, 2017): Viewing a list of repositories that refer to another repository is currently disabled. It will be added back soon. Viewing function call sites across repositories is still supported.

We’re excited to announce that Sourcegraph “used by” badges now support Java libraries. If you’re an open-source author, these badges tell you how many other projects depend on your work. If you’re an open-source user, the badges help you make an informed decision based on how many others are actually using and relying on a library.

JUnit is used by over 6 thousand open-source projects.

Our badges pull dependency information from the same global code graph that helps you make sense of code on Sourcegraph.com. Code is data, and we’re on a mission to make that data useful to programmers everywhere.

How to add the badge

Copy the following snippet to your README.md and replace “github.com/junit-team/junit4” with the name of your repository: