Recent

Author Topic: project - count source lines  (Read 4960 times)

munair

  • Hero Member
  • *****
  • Posts: 887
  • compiler developer @SharpBASIC
    • SharpBASIC
Re: project - count source lines
« Reply #15 on: July 23, 2025, 07:01:31 pm »
Great to hear!
It's only logical.

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 630
    • Double Dummy Solver - free download
Re: project - count source lines
« Reply #16 on: December 13, 2025, 06:51:50 pm »
I know this is an old topic - seemed like the appropriate place for my question. I too am trying to determine how many lines of coding are envolved in a project I've been working on for 35 years!! I installed ProjectMetrics package from the OPM but didn't see how to use it. The attached seems to provide some info - 607k lines.  How can I use ProjectMetrics?
Lazarus 3.8 FPC 3.2.2 x86_64-win64-win32/win64

wp

  • Hero Member
  • *****
  • Posts: 13329
Re: project - count source lines
« Reply #17 on: December 13, 2025, 07:13:26 pm »
After you installed the ProjectMetrics package you'll find a new item "Project metrics..." in the "Project" menu of the IDE. Clicking on it will open a form showing the number of code lines, comment lines and empty lines for the currently project loaded in the IDE, as total numbers and separated per project unit.

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 630
    • Double Dummy Solver - free download
Re: project - count source lines
« Reply #18 on: December 13, 2025, 10:30:31 pm »
Got it.   Thanks :)
Lazarus 3.8 FPC 3.2.2 x86_64-win64-win32/win64

 

TinyPortal © 2005-2018