Re: Now 376175 lines of code
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2000-10-20T17:11:07Z
Lists: pgsql-hackers
> Bruce Momjian writes: > > > FYI, it is 376k lines of C code, not bytes. > > How did you calculate that? I get this using c_count over all .c and .h > files: > > 20903 lines had comments 25.4 % > 6603 comments are inline -8.0 % > 11911 lines were blank 14.5 % > 7287 lines for preprocessor 8.9 % > 48716 lines containing code 59.3 % > 82214 total lines 100.0 % > > Surely we don't have 294000 lines of Java, C++, Shell, and Perl??? I just counted lines, not line content. Not sure which is more meaningful. Our comments are as important as the code, sometimes, though they do not add functionality to the application. I am not inclined to inflate numbers, but I am not sure the 59% number is accurate either. Opinions? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026