Code Count - Scans Libraries and Objects to Report Code Metrics

Ludek Nesnidal
Posts: 2
 3 weeks 20 hours ago -  3 weeks 20 hours 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: 3 weeks 20 hours ago by  Ludek Nesnidal

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

John Fauss
CODE AUTHOR
Posts: 14
 1 month 4 weeks ago -  1 month 3 weeks 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: 1 month 3 weeks ago by  John Fauss

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

David Peace (Powersoft)
Posts: 3
 1 month 4 weeks ago #630 by David Peace (Powersoft)
David Peace (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
 2 months 5 days 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.