Code Count - Scans Libraries and Objects to Report Code Metrics

Ludek Nesnidal
Posts: 2
 2 months 5 days ago -  2 months 5 days ago #633 by Ludek Nesnidal
Ludek Nesnidal replied the code: Code Count - Scans Libraries and Objects to Report Code Metrics

This is great tool, however while testing on my project it reported some errors (17 in total) ...

 

And while testing on other project written in PB2025 got this ...

 

 

Other that this it works nicely.

THX

Last Edit: 2 months 5 days ago by  Ludek Nesnidal

Please Log in or Create an account to join the conversation.

John Fauss
CODE AUTHOR
Posts: 14
 3 months 1 week ago -  3 months 5 days ago #631 by John Fauss
John Fauss replied the code: Code Count - Scans Libraries and Objects to Report Code Metrics

Thank you, David! You're probably right, as the Print command button was a late addition to the window. I'll check and make the fix. 

 

I've also incorporated the use of a blob with the LibraryExport PowerScript function, so as to be able to successfully create exported syntax strings having a length in excess of 32K. I'll get that in a refresh of the app as well.

 

* Updated 2025-Dec-29 *

The original app has been updated with the minor fixes/improvements listed above.

Last Edit: 3 months 5 days ago by  John Fauss

Please Log in or Create an account to join the conversation.

David Peace -Consulting Partner Powersoft
Posts: 3
 3 months 1 week ago #630 by David Peace -Consulting Partner Powersoft
David Peace -Consulting Partner Powersoft replied the code: Code Count - Scans Libraries and Objects to Report Code Metrics

Nice one! Works really well.

 

I think you missed this line out of the ue_initresize

 

This.inv_Resize.of_Register(cb_print,This.inv_Resize.FIXEDBOTTOM)

Please Log in or Create an account to join the conversation.

Mark Rezmer
Posts: 1
 3 months 2 weeks ago #628 by Mark Rezmer
Mark Rezmer replied the code: Code Count - Scans Libraries and Objects to Report Code Metrics

Great work and congratulations! This tool is very useful for analyzing PowerBuilder code metrics.
Thank you for sharing it.

Please Log in or Create an account to join the conversation.