Re: Now 376175 lines of code - Mailing list pgsql-hackers

From Gunnar R|nning
Subject Re: Now 376175 lines of code
Date
Msg-id x6wvf2cy04.fsf@thor.candleweb.no
Whole thread Raw
In response to Re: Now 376175 lines of code  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> 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 the 59% number is
> accurate either.
> 

Counting the number of lines is only meaningful as a relative measurement
of complexity and spent effort - IMHO. And I think lines of code
measurements usually ignore blank lines and lines with
comments. However, Preprocessor directives is code - and sometimes it would
be fair to add some extra lines for the increased complexity caused by cool
CPP macros ;-)

Regards, GunnarGunnar


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: UnixWare 7.1.1b FS
Next
From: Denis Perchine
Date:
Subject: Problem do backup/restore for empty database