Bruce Momjian <[EMAIL PROTECTED]> writes:
> 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 th
Ross J. Reedstrom writes:
> For example, no one seems to have commented on the -8% of inline
> comments reported by Peter's c_count! Funny math, indeed.
If you had actually done the math ;-) you would have noticed that the
percentage of the inline comments is negative because those lines have
bo
On Fri, Oct 20, 2000 at 01:30:25PM -0400, Bruce Momjian wrote:
> I compute the code count with:
>
> find . -name \*.[chyl] | xargs cat| wc -l
Right, that solves the problem others might be seeing, with the command
line getting expanded and silently chopped off. For example, no one
seems to
On Fri, 20 Oct 2000, Hannu Krosing wrote:
> 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 comments25.4 %
I compute the code count with:
find . -name \*.[chyl] | xargs cat| wc -l
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.
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 comments25.4 %
> 6603 comments are inline -8.0 %
> 11911 lines were
> 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 comments25.4 %
> 6603 comments are inline -8.0 %
> 11911 lines were blank 14.5 %
>
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 comments25.4 %
6603 comments are inline -8.0 %
11911 lines were blank 14.5 %
7287 lines for prepro
o: Ross J. Reedstrom
> Cc: Tom Lane; PostgreSQL-development
> Subject: Re: [HACKERS] Now 376175 lines of code
>
>
> Never mind. I see I ran it already on 7.0 and got 376k. You used my
> idential script to get these numbers. I will use your nice numbers for
> a presentation
Never mind. I see I ran it already on 7.0 and got 376k. You used my
idential script to get these numbers. I will use your nice numbers for
a presentation at the show in two weeks. Thanks a lot.
> On Thu, May 11, 2000 at 01:45:31AM -0400, Tom Lane wrote:
> > Bruce Momjian <[EMAIL PROTECTED]>
10 matches
Mail list logo