-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Just recently I wondered how the actual number of source code lines in gnucash has changed over the recent releases. There are some numbers in src/count.dat, but they stop with 385.5k LOC (lines of code) at version 1.8.4. In order to get some more recent numbers, I installed the tool sloccount and went through various tags in SVN.
Surprisingly enough, sloccount reports numbers that are almost 50% lower from what Linas' simple line counting initially said. I guess this simply accounts for the fact that we are using a *lot* of comments inside of our code, which is good, but they are not counted here [1]. Whatever. Most notable results from sloccount: gnucash-1.8.4 had 197k SLOC, 1.8.12 had 203k, and 2.0.0 had 250k SLOC. The full numbers are attached; if you like, I can commit that to src/count.dat as well. Regards, Christian [1] From http://www.dwheeler.com/sloccount/sloccount.html: This tool measures ``physical SLOC.'' Physical SLOC is defined as follows: ``a physical source line of code (SLOC) is a line ending in a newline or end-of-file marker, and which contains at least one non-whitespace non-comment character.'' Comment delimiters (characters other than newlines starting and ending a comment) are considered comment characters. Data lines only including whitespace (e.g., lines with only tabs and spaces in multiline strings) are not included. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRUYic2XAi+BfhivFAQL28AP9E0zP3rqN/tPnnKRtus1+hQl0iCL2E8Jl SC7HW/sL7oP0pWOWwqP0fKUDe/v2l1mOPL6cK0tzVIvaFOopBcYOpsrf31PkaPXQ sORGvgWqCnTcRDbGPt/1HhfYmQg/nEa4rrj0wLZvkR8UzmcbJBXbJamyrdBwZOWF xcpL+AvowOY= =ihko -----END PGP SIGNATURE-----
# # file: count.dat # # Raw data for the number of KLOC of code in gnucash, # as a function of date. Taken from the web page # http://www.gnucash.org/en/sizing.phtml # format: day/month/year <tab> KLOC # plot this by saying "gnuplot count.gplot" at the command line # # xacc-0.9 Sept 97 1/9/1997 8.8 # xacc-0.9w Dec 97 1/12/1997 16.2 # xacc-1.0.17 Feb 98 1/2/1998 18.3 # gnucash-1.1.15 Aug 98 1/8/1998 34.7 # gnucash-1.2.2 Aug 99 1/8/1999 39.0 ### From here on, the first column is generated from "sloccount ### src/", whereas the second column is the original "wc ..." ### number from Linas. # gnucash-1.3.6 April 2000 1/4/2000 51.3 95.1 # gnucash-1.4.1 26/6/2000 57.5 ? ## gnucash-1.4.6 Sept 2000 ## 1/9/2000 ? 101.9 ## gnucash-1.4.12 April 2001 ## 1/4/2001 ? 108.2 # gnucash-1.5.2 Sept 2000 1/9/2000 63.6 114.2 # gnucash-1.6.0 June 2001 1/6/2001 110.1 193.9 # gnucash-1.7.2 November 2002 1/11/2002 188.2 297.1 # gnucash-1.8.4 June 2003 26/5/2003 196.9 385.5 # gnucash-1.8.8 17/11/2003 201.5 # gnucash-1.8.9 12/4/2004 202.3 # gnucash-1.8.10 12/11/2004 201.7 # gnucash-1.8.11 6/2/2005 202.6 # gnucash-1.8.12 10/10/2005 203.0 # gnucash-1.9.0 9/2/2006 242.2 # gnucash-1.9.6 14/5/2006 250.0 # gnucash-2.0.0 9/7/2006 249.9 # gnucash-2.0.2 8/10/2006 250.0 # gnucash-trunk after swig-redo merge, without the .i files 30/10/2006 246.1
_______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel