Skip to content
Versora

Manual

Inspection

Repository insights (contributors and activity)

5 min read

On this page

The Repository insights screen brings together three readings of the history, each on a tab:

TabWhat it shows
ContributorsWho made commits, how many, when the first and the last were, and the lines added and removed per person.
ActivityCommits or lines per week, month, quarter or year, with the main authors highlighted.
TreemapThe size and the changes of each folder and file. See Treemap.

The heavy readings run in the background, with a progress bar, and can be canceled. You keep using the app while they run.

Open the insights

Where to find it

  • Repository tab menu: Contributors, activity and treemap.
  • Palette (Ctrl+P):
    • "Repository contributors";
    • "Visual history (activity over time)";
    • "Repository treemap (size and changes by folder)".
  • Revision tree: right-click a folder › Contributors of this folder or Activity of this folder; a file › Visual history of this file.
  • Treemap: right-click an item › Contributors or Activity.

Top filters

FilterWhat it doesDefault
RevisionThe point in the history being analyzed: HEAD or another ref from the list.HEAD
All refsAnalyzes the history of every branch and tag, not just the revision's. Doesn't apply to the treemap.Unchecked
Count merges"Merge commits count too (by default they're left out, as in shortlog)". Doesn't apply to the treemap.Unchecked
Folder / FileAppears when the insights were opened for a folder or a file. The X ("Back to the whole repository") removes the focus.—
Open in treeOpens the folder or file in focus in the revision tree.—

The reload button ("Recalculate") redoes the reading, and the X or Esc closes the screen. The time the reading took appears at the end of the filter row.

Authors and .mailmap

Authors go through the repository's .mailmap. If the same person committed with two emails or two names, a .mailmap merges everything into a single row:

After that, each author is identified by email, case-insensitively.

Contributors

Step by step

  1. Open Contributors, activity and treemap from the tab menu.
  2. Read the summary: total commits, number of authors and the period "from the first to the last commit".
  3. The table lists the authors, from the one with the most commits to the one with the fewest:
    • Author;
    • Commits;
    • Lines (after counting);
    • First and last commit;
    • Activity, a sparkline of the author over time.
  4. To add up the lines, click Count lines ("Reads the diff of every commit: on a large history it takes a few minutes"). While it runs, "Adding up the lines of each commit…" appears, with Cancel.
  5. Click an author to see the details ("N commits, from <date> to <date>.") and the Day of week and hour chart for their commits only.

Day of week and hour

The Day of week and hour chart shows on which days and at which times commits happen, in a grid of days by hours, from "less" to "more". The hours are in each author's time zone ("In each author's time zone. Click an author in the list to see only their commits."). Hover over a cell to see the day, the hour and the count, in the format "<day>, 14:00: 23 commits".

What Versora does in git

Read only:

bash
# authors and dates (fast, no diff)
git log --format=%at%x1f%aN%x1f%aE%x1f%ai [--no-merges] <revision | --all> [-- <folder or file>]
# lines added and removed (slower: reads the diff of every commit)
git log --no-merges --numstat -M --no-ext-diff --no-textconv --format=%x1e%aE%x1f%ai <revision | --all> [-- <path>]

%aN and %aE are the author's name and email already corrected by .mailmap. With -M, moving a file doesn't count as new lines. All refs replaces the revision with --all. With the focus on a file, Versora adds --follow, and the history follows renames.

Caveats and messages

  • "lines (partial: only the newest N commits)": you canceled the line count midway. What was already added up is still valid, but only for the newest commits.
  • "No commits in this scope.": the revision, folder or file has no commits.
  • "Reading the history…": the reading is still in progress.
  • "The analysis took too long and was stopped.": the history is too large for the time limit. Narrow it down to a folder or uncheck All refs.
  • "Analysis canceled.": you canceled.

Activity

The Activity tab shows how the repository (or the folder, or the file) evolved over time, in a bar chart. The five authors with the most commits get their own colors, and the others go together into Others, in gray. The color follows the author, never the position.

Step by step

  1. Open the Activity tab, or use "Visual history (activity over time)" in the palette.
  2. Under Measure, choose Commits or Lines. Lines needs the line count: if it hasn't been done yet, the tooltip warns "Counts the lines of every commit (may take a few minutes)" and Versora counts them when you choose it.
  3. Under Period, choose Week, Month, Quarter or Year. Without a choice, Versora adjusts it on its own based on the size of the history, so as not to go over about 160 bars.
  4. The title shows the measure and the peak, for example "peak: Q2 2025, 312 commits".
  5. Use the arrow keys over the chart to read the values, or View as table to see the numbers (Period and Total). View as chart goes back.
  6. Below the chart, the Day of week and hour chart shows how the commits are distributed.
OptionWhat it doesDefault
MeasureCommits or changed Lines per period.Commits
PeriodWeek, Month, Quarter or Year.Automatic, based on the size of the history
View as tableShows the numbers instead of the chart.Chart

Caveats and messages

  • "Partial: only the newest N commits were counted.": the line count was canceled before the end.
  • "No activity in this scope.": there are no commits in the chosen scope.

How to undo

The insights don't change anything in the repository. There's nothing to undo.

The insights have no preference of their own and no company policy key.

See also