Re: Now 376175 lines of code

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Now 376175 lines of code
Date: 2000-10-20 17:12:42
Message-ID: Pine.LNX.4.21.0010201907010.789-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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???

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Kernell 2000-10-20 17:14:35 what is CVS?
Previous Message Bruce Momjian 2000-10-20 17:11:07 Re: Now 376175 lines of code