From: John Towell <jtowell@lo...> - 2003-05-16 20:43:09
I was wondering what the descrepency between lines of code from the graph
and total from developers. Our application has a 30,000 difference.
Which one is more likely to be correct? How is each number determined?
Thanks. The application is really cool by the way.
I have the following doubt: how are the lines of code counted? When a user
has, for instance, x lines of code, what does that exactly mean? Does it
mean for the current project, x lines of code are of his authorship or is it
that he commited x number of lines?
From: Richard Cyganiak <rcyg@gm...> - 2003-05-17 02:23:37
From: "John Towell" <jtowell@...>
> I was wondering what the descrepency between lines of code from the graph
> and total from developers. Our application has a 30,000 difference.
> Which one is more likely to be correct? How is each number determined?
The final number from the graph is the correct number. It's the total number
of lines in the checked-out files. Binary files are not counted.
The developer page shows how many lines each developer has contributed. That
is, if developer A adds a new file with 100 lines, and developer B changes
50 of these 100 lines, then 100 lines will be counted for A and 50 for B,
with a total of 150 changed lines, but the file still has only 100 lines. So
the developer page shows contributions of each author, not actual lines of
code in the current files.
The numbers in the developer page can be distorted because StatCvs gets
confused when files are deleted or moved. The numbers can be way off when
lots of files are moved.