Git Commit History Analyzer

Open a repository folder or paste git log output to see who changed what, when work happens, which files churn most and where the risk is.

S'exécute dans votre navigateur. Vos fichiers ne quittent jamais votre appareil. Voir comment vérifier

…

Comment faire

  1. 1
    Load the history

    Press Open a repository folder and choose its top folder, or paste the git log output shown and press Analyse pasted log.

  2. 2
    Set the range

    Choose how many commits to analyse and adjust Ignore paths for generated files.

  3. 3
    Review authors

    Open Authors and merge duplicate identities if needed.

  4. 4
    See activity

    Open Activity for commits per week, the weekday and hour heat map and folder totals.

  5. 5
    Find hotspots

    Open Hotspots and churn and sort your attention by score, owner and churn.

  6. 6
    Explore age and coupling

    Open File age map and Change coupling, then export CSV files.

À propos de cet outil

A repository's history is a record of how a team actually works: who owns which parts, which files change all the time, which areas nobody has touched for years and where knowledge depends on a single person. This analyser reads that history without uploading anything. In desktop Chrome and Edge you open the repository folder and every commit is compared with its parent to count added and removed lines per file. In any browser you can paste or open the output of one git log command instead. The results are author statistics, weekly activity and a weekday by hour heat map, churn and hotspot rankings, file ownership with a bus factor estimate, a file age map and pairs of files that tend to change together.

Who this is for

Engineering managers planning refactoring and knowledge sharing, tech leads preparing for a new team member, open source maintainers reviewing contributor activity, and developers taking over an unfamiliar codebase.

Two ways in

- Open a repository folder: the browser asks for read permission and the history is read with isomorphic-git, loaded from jsDelivr. Choose how many commits to analyse; Stop keeps what has been read so far. - Paste or open a log: run the git log command shown in the tool, which prints each commit with its author and the numbers of added and removed lines per file. This works in every browser and for very large repositories.

Authors

Commits, added and removed lines, files touched, active days and first and last commit per author. People who committed under several emails can be merged with lines like `[email protected] = Ada Lovelace`.

Hotspots and churn

A hotspot is a file that changes often and is large. The score multiplies the relative change frequency by the relative size, on a 0 to 100 scale. Lock files, build output and minified files are ignored by default because they inflate churn.

Ownership, bus factor and age

Each file's main owner is the author with most changed lines in it. The bus factor estimate is the smallest number of authors who are main owners of more than half of the files. The file age map draws each file as a box sized by lines and coloured from green (changed this month) to brown (untouched for over two years).

Change coupling

Pairs of files that changed in the same commit at least three times are listed with how often they changed together, which reveals hidden dependencies.

Worked example

In a sample log of three commits by two authors, src/parse.ts was changed three times with 15 lines added and 2 removed, so it has an estimated 13 lines, is the top hotspot and is owned by Ada. Ada is the main owner of every file, so the bus factor is 1.

Limits

Line counts come from the analysed range only, so files older than that range show fewer lines than they have. Renames are followed in pasted logs but not across the folder reader's line counts. Author statistics measure activity, not value or quality, and should not be used to rank people.

Exemple concret

3 commits: src/parse.ts changed 3 times, +15 −2, about 13 lines, top hotspot owned by Ada; bus factor 1.

L'essentiel

Questions fréquentes

Which browsers can open a repository folder?

Desktop Chrome, Edge, Opera and other Chromium browsers, which support the File System Access API. In Firefox, Safari and on phones use the pasted git log route.

Is my code uploaded or changed?

No. The folder is opened read-only, everything is computed in your browser and nothing is written to the repository.

What exactly is a hotspot?

A file that is both large and frequently changed. Such files collect bugs and slow reviews, so they are good candidates for refactoring or tests.

Why are some lines counts zero?

Binary files, ignored paths and very large files are counted as changes without line numbers.

How do I merge two identities of the same person?

Open Merge author identities and add a line with the email and the name to use, for example [email protected] = Sam Lee.

Can I export the numbers?

Yes. Export authors CSV and Export files CSV give the tables for a spreadsheet.

Entièrement gratuitAucun coût, aucune inscription
Fichiers privésTout s'exécute dans votre navigateur
Simple dans votre langueDisponible en de nombreuses langues