Recent

Author Topic: More than 5 million lines of source code!  (Read 2258 times)

schuler

  • Full Member
  • ***
  • Posts: 223
More than 5 million lines of source code!
« on: October 20, 2019, 02:34:32 pm »
:) Just found that Lazarus has more than 5 million lines of source code! This is impressive! :)

Source: https://www.openhub.net/p/lazarus?ref=sample

julkas

  • Guest
Re: More than 5 million lines of source code!
« Reply #1 on: October 20, 2019, 02:47:52 pm »
Erstaunlich! Es ist einfach fantastisch!
« Last Edit: October 20, 2019, 02:52:07 pm by julkas »

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: More than 5 million lines of source code!
« Reply #2 on: October 20, 2019, 03:02:03 pm »
"Only" 4.6 Mio:

Code: Text  [Select][+][-]
  1. Total Lines :   5,653,073              
  2. Code Lines :    4,589,988       Percent Code Lines :    81.2%
  3. Total Comment Lines :   454,569         Percent Comment Lines :         8.0%
  4. Total Blank Lines :     608,516         Percent Blank Lines :   10.8%
  5.  

https://www.openhub.net/p/lazarus/analyses/latest/languages_summary
« Last Edit: October 20, 2019, 03:03:54 pm by winni »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: More than 5 million lines of source code!
« Reply #3 on: October 20, 2019, 03:09:04 pm »
Just look at the "pascal"  lines, and you get 3.2M codelines.  The makefiles are mostly autogenerated and don't really count

The XML files are mostly documentation and do count, but as docs, not as code.

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: More than 5 million lines of source code!
« Reply #4 on: October 20, 2019, 04:11:34 pm »
There are also C bindings code for Qt5 inside lcl/interfaces/qt5/cbindings which contains .cpp and .h files.

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: More than 5 million lines of source code!
« Reply #5 on: October 20, 2019, 04:16:33 pm »
There are also C bindings code for Qt5 inside lcl/interfaces/qt5/cbindings which contains .cpp and .h files.

Which are written to be used with Lazarus, so they should count.

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: More than 5 million lines of source code!
« Reply #6 on: October 20, 2019, 06:02:14 pm »
That would be 5 mil+ lines of whitespace too... :P
You have lies and statistics
« Last Edit: October 20, 2019, 06:04:18 pm by Thaddy »
Specialize a type, not a var.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: More than 5 million lines of source code!
« Reply #7 on: October 20, 2019, 06:21:44 pm »
And then there is of course also freepascal, in a separate repo:

https://www.openhub.net/p/freepascalall/analyses/latest/languages_summary

benohb

  • Full Member
  • ***
  • Posts: 213
Re: More than 5 million lines of source code!
« Reply #8 on: October 21, 2019, 10:53:09 pm »
Quote
There are also C bindings code for Qt5 inside lcl/interfaces/qt5/cbindings which contains .cpp and .h files.

But it is calculated because the code is written for Lazarus/fpc
The programming language does not matter. It is a project parts

 

TinyPortal © 2005-2018