I would like to purchase an enterprise license or higher, but I need to calculate the potential LOC of my gitlab server (16.8) to understand exactly which subscription to buy.
I tried using the scc and cloc utilities for analysis, but they only work with loaded repositories, and on the server all bare repositories are inside .git and then in blobs. Because of this structure, these utilities do not allow you to collect LOC for all projects for a quality assessment.
The only thing I see is to pull each project in turn and collect LOC, but there are 600+ projects and this will take some effort
Maybe someone has already encountered a similar problem and has a solution?
Thanks for the answer.
While waiting for your answer, I made a Python script that is identical in functionality, only I collect the code quantities from the main\master branches, and then everything is summarized by languages in a separate .csv