Lazarus

Programming => General => Topic started by: schuler on October 20, 2019, 02:34:32 pm

Title: More than 5 million lines of source code!
Post by: schuler 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
Title: Re: More than 5 million lines of source code!
Post by: julkas on October 20, 2019, 02:47:52 pm
Erstaunlich! Es ist einfach fantastisch!
Title: Re: More than 5 million lines of source code!
Post by: winni 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 (https://www.openhub.net/p/lazarus/analyses/latest/languages_summary)
Title: Re: More than 5 million lines of source code!
Post by: marcov 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.
Title: Re: More than 5 million lines of source code!
Post by: zeljko 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.
Title: Re: More than 5 million lines of source code!
Post by: Zoran 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.
Title: Re: More than 5 million lines of source code!
Post by: Thaddy on October 20, 2019, 06:02:14 pm
That would be 5 mil+ lines of whitespace too... :P
You have lies and statistics
Title: Re: More than 5 million lines of source code!
Post by: marcov 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
Title: Re: More than 5 million lines of source code!
Post by: benohb 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