Recent

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

schuler

  • Full Member
  • ***
  • Posts: 125
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

  • Sr. Member
  • ****
  • Posts: 410
  • KISS principle / Lazarus 2.0.0 / FPC 3.0.4
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 »
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
asm
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx
end;

winni

  • Sr. Member
  • ****
  • Posts: 415
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7493
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: 1079
    • 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: 1461
    • 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: 9142
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 »
also related to equus asinus.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7493
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: 184
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