Skip to content

[Feature request] please add the number of code lines as a display option #133

@mcallegari

Description

@mcallegari

Hi, first of all congratulations for the very nice software !

I am playing around with it to create a video of the evolution of my project.
The number of files by language indication is neat, but I believe a powerful indication of a project effort is the number of lines of code. You could have 10 C++ files that changed over time from 1000 lines to 1000000 lines and Gource would not show it.

Having a look at the source code, I think for git you can easily achieve this by adding "--numstat" to the git log command. No idea how this can work on other VCSs.
Then you obviously need to parse the added/removed lines information, where git helps you with an output like this

3       0       engine/src/showrunner.cpp
24      2       engine/src/track.cpp
21      8       engine/src/track.h

What do you think ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions