How much lines per day?

Started by Tatsuo Ishiiover 16 years ago4 messagesgeneral
Jump to latest
#1Tatsuo Ishii
t-ishii@sra.co.jp

Hi,

While attending a Linux conference, a guy said that 10,923 lines of
code are added and 5,547 lines of code are deleted per day in average
in Linux development. This is an interesting number and I just wonder
anybody ever tries to calculate these numbers with PostgreSQL.

Does anyone know such number?
--
Tatsuo Ishii
SRA OSS, Inc. Japan

#2Andreas Kretschmer
akretschmer@spamfence.net
In reply to: Tatsuo Ishii (#1)
Re: How much lines per day?

Tatsuo Ishii <ishii@postgresql.org> wrote:

Hi,

While attending a Linux conference, a guy said that 10,923 lines of
code are added and 5,547 lines of code are deleted per day in average
in Linux development. This is an interesting number and I just wonder
anybody ever tries to calculate these numbers with PostgreSQL.

Does anyone know such number?

Not really what your are looking for, but also interesting:
http://vimeo.com/1081680

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082�, E 13.56889�

#3Rakotomandimby Mihamina
mihamina@gulfsat.mg
In reply to: Tatsuo Ishii (#1)
Re: How much lines per day?

10/21/2009 08:40 AM, Tatsuo Ishii:

Does anyone know such number?

With some script binding the PG SCM you could easily find that.
It's all about SUMming "--" and "++" from commit diffs.

--
Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 33 11 207 36

#4Jeff Davis
pgsql@j-davis.com
In reply to: Tatsuo Ishii (#1)
Re: How much lines per day?

On Wed, 2009-10-21 at 14:40 +0900, Tatsuo Ishii wrote:

While attending a Linux conference, a guy said that 10,923 lines of
code are added and 5,547 lines of code are deleted per day in average
in Linux development. This is an interesting number and I just wonder
anybody ever tries to calculate these numbers with PostgreSQL.

Does anyone know such number?

Since 8.5alpha1:
$ git diff --shortstat origin/REL8_5_ALPHA1_BRANCH origin/master
618 files changed, 43682 insertions(+), 24382 deletions(-)

That was on Aug 19th, which was about 63 days ago. However, to be
meaningful, we should subtract away the changes to the .po files, which
are generated.

So, 43682 + 24382 - 9889 (de.po) - 3831 (fr.po) = 54344

54355/63.0 = 862 lines/day.

Not bad. That's essentially one commitfest period, so it would be
interesting to compare with others, as well.

Regards,
Jeff Davis