Thread: How much lines per day?

How much lines per day?

From
Tatsuo Ishii
Date:
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

Re: How much lines per day?

From
Andreas Kretschmer
Date:
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°

Re: How much lines per day?

From
Rakotomandimby Mihamina
Date:
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

Re: How much lines per day?

From
Jeff Davis
Date:
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