Every repository comes with a set of metrics that describe everything, ranging from contributions made by people to your project, to the frequency of code submitted.

The information in these graphs is calculated like so:

  • Commits use the time zone information in the commit timestamp.
  • Pull requests and issues that are opened on GitHub use the browser's time zone. Those opened via the API use the timestamp or time zone specified in the API call.

For more information, see our blog post on time-zone-aware contribution graphs.

Remember: Your name will only be associated with committed activity if your e-mail address is added and verified.

Contributors

The Contributors tab shows you a high-level view of everyone that's committed to your codebase, throughout the lifecycle of your project:

Contributors Snapshot view

Here are a few highlights of this page:

  • The graph shows a list of commits, code additions, and code deletions made over a repository's life. By clicking and dragging in the graph, you can select a range of time to hone in on.
  • Below the graph are cards that feature people that contributed code to your project. Each person has their own graph indicating their code contributions over the lifecycle of the project.

Commits

The Commits tab shows a more agnostic view of all submissions to your repository over the course of the previous year. You can see which week had the most commits in the top graph. The bottom graph shows you which day in that week had the most commits.

Code Frequency

The Code Frequency tab takes the same information given in Commits, except it lays them out by actual number of lines changed, rather than simply counting commits. It provides an "average change" line, so that you can visually identify the trending change in your repository.

Punchcard

The Punchcard tab is kind of a fun visualization on the frequency of updates to your repository, based on day of the week and time of day. For example:

Contributors Punchcard view

You can see in this image that Saturdays at 3pm are very popular for this repository, based on the size of the black circle. Wednesdays and Thursdays at 1am are relatively unpopular. Meanwhile, absolutely no code has ever been on committed on Monday at 5am (though 6am still has a speck of an update).

Traffic

The Traffic tab lets you know how people are linking to your repository, what content is the most popular, how many unique visitors it's had, and the total visits over the last 14 days. The referring sites and popular content update daily while the visitor graph updates hourly.

You can even dig deeper into the data for more information. The referring sites, excluding search engines and GitHub itself, are clickable links to the specific path under the domain where the referral came from. The popular content links to the actual part of the content that's generating the traffic. If you want to know the exact numbers for a given day, simply hover over the point for that day on the graph and a tooltip will pop up showing the actual number of visitors for that day.

The Traffic tab is only available to repository collaborators.

Traffic Graphs view