Re: Now 376175 lines of code
От | Bruce Momjian |
---|---|
Тема | Re: Now 376175 lines of code |
Дата | |
Msg-id | 200010201711.NAA20126@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Now 376175 lines of code (Peter Eisentraut <peter_e@gmx.net>) |
Список | 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, Pennsylvania19026
В списке pgsql-hackers по дате отправления: