In the Code Frequency tab of the Graphs page, you can get an overview of the project dynamics in terms of lines of code.
Below on the page, you'll find:
- instructions on how to view the Code Frequency graph for repositories
- a detailed description of elements of the graph
- an overview of the filtering capabilities
For easier navigation, use the Table of Contents at the top-right of the page.
How to view the Code Frequency graph
The Code Frequency graph is available only on the repository level. To view the Code Frequency graph:
- Navigate to the repository of your choice.
- Click on the Graphs icon in the left-hand sidebar.
- Choose the Code Frequency tab.
Analyze the dynamics in your repositories
The green and red graphs with the left-hand scale show added and deleted lines of code per week respectively. The dotted blue line with the right-hand scale represents the total number of existing lines. The graph covers the whole project from its start to the current week.
By default, all files except binaries are counted in lines of code statistics. It is possible to exclude files and directories from statistics. Learn more
Navigating the Graph
You can use the mouse wheel to zoom the graph, alternatively, use the buttons In or Out above the graph. Click Reset to go back to the initial complete view. When zoomed in, use the buttons Earlier and Later to move along the timeline.
Hover over a specific day in the graph to view detailed statistics for it in a pop-up tip.
Filtering the displayed data
You can filter all the information displayed in the Code Frequency graph to show the activity of certain contributors.
Track the dynamics of a particular user or a team
By default, the Code Frequency graph displays added, deleted, and total lines of code of all contributors of a repository. In the All contributors dropdown menu it's possible to choose certain contributors (a team or a user) and browse this graph for them only.
Choose a team in the Teams tab to see personal statistics. Read more about teams here.
Choose a user in the Users tab to see personal statistics.