1. Sandra Camargo
  2. PowerBuilder
  3. Thursday, 22 April 2021 16:24 PM UTC
We have an application that started with PB8 and currently in 2017R3.
We are in the middle of audit process and it hasn't been possible to generate an inventory of the source programs.
Does Appeon have an option for source counting?
How can an automatic inventory of sources be carried out?

thankx.
Christophe Dufourmantelle Accepted Answer Pending Moderation
  1. Friday, 23 April 2021 16:07 PM UTC
  2. PowerBuilder
  3. # 1

Hi Sandra,

You can use Visual Expert to calculate the number of:

  • Lines of code
  • PB objects (how many DWs, Windows, UOs...)
  • PB controls (how many DW controls, tabs, texts...)
  • PB events, functions, variables, attributes, parameters...
  • Database objects called from PB (Procedures, tables, etc.)

You can also list the Web services and dll functions called from your PB client.

For more details, you can read this article about Source Code Metrics & Inventory 

Source Code metrics for PowerBuilder

 

Christophe Dufourmantelle

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 22 April 2021 16:56 PM UTC
  2. PowerBuilder
  3. # 2

I have a free code example that counts lines of code:

https://www.topwizprogramming.com/freecode_linecount.html

Migrate it to your version of PowerBuilder and generate an exe. The exe will do the counting. Running from the IDE will not work correctly.

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.