From: | Hannu Krosing <hannu(at)tm(dot)ee> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Now 376175 lines of code |
Date: | 2000-10-20 16:20:59 |
Message-ID: | 39F070EB.1679D8D7@tm.ee |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut wrote:
>
> 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???
doing the following in version 6.5.3 in src/backend
[hannu(at)hu backend]$ cat */*.[ch] */*/*.[ch] */*/*/*.[ch]| wc
gives
208284 658632 5249304
So you (or c_count ;) must be missing some files
in src/ ther result was
[hannu(at)hu src]$ cat */*.[ch] */*/*.[ch] */*/*/*.[ch] */*/*/*/*.[ch]| wc
311469 1069935 8440682
-------------
Hannu
From | Date | Subject | |
---|---|---|---|
Next Message | Karel Zak | 2000-10-20 16:35:24 | Re: to_char() dumps core |
Previous Message | Hannu Krosing | 2000-10-20 15:58:26 | Re: Unable to access CVS server |