GoogleCodeArchives / svnplot

Automatically exported from code.google.com/p/svnplot
0 stars 0 forks source link

Issue with average lines per file computing #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Does the "average file size (lines)" chart exclude binary / deleted files ?
Because I have 3,6 lines per file in average (in a repository of 80000 LoC
with only 260 files)...

Original issue reported on code.google.com by cyber.s...@gmail.com on 27 Feb 2010 at 4:02

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by nitinbh...@gmail.com on 12 Mar 2010 at 4:56

GoogleCodeExporter commented 9 years ago

Original comment by nitinbh...@gmail.com on 12 Mar 2010 at 5:02

GoogleCodeExporter commented 9 years ago
Binary files should not be counted as a LOC. My project includes several images 
xpm
and all were counted as a LOC. Svnplot generated about a thousand lines of code 
that
does not exist. I think binary files should be placed on a separate chart.

Original comment by sh4d...@gmail.com on 27 Mar 2010 at 3:41

GoogleCodeExporter commented 9 years ago
binary file extension list is added in the svnlog2sqlite.py. I have added .xpm 
in the list. Please check the trunk. These changes will be available in the 
next release.

Original comment by nitinbh...@gmail.com on 27 Mar 2010 at 7:24

GoogleCodeExporter commented 9 years ago
Doesn't work for me - xpm files have been still counted as LOC. Do you need any 
extra
information to debug?

Original comment by sh4d...@gmail.com on 28 Mar 2010 at 6:59

GoogleCodeExporter commented 9 years ago
I will check again. Did you regenerate the sqlite database ?

Original comment by nitinbh...@gmail.com on 5 Apr 2010 at 3:28

GoogleCodeExporter commented 9 years ago
Yes. I had removed it and created once again.

Original comment by sh4d...@gmail.com on 7 Apr 2010 at 10:27

GoogleCodeExporter commented 9 years ago
Ok. I will try on dummy repository with some xpm files over the weekend. 
Hopefully I will be able to reproduce it.

Original comment by nitinbh...@gmail.com on 9 Apr 2010 at 1:48

GoogleCodeExporter commented 9 years ago
I think finally discovered the bug binary file logic. Check with the latest 
code for xpm files.

Original comment by nitinbh...@gmail.com on 30 Apr 2010 at 4:49