That being said, Lines of Code isn't really a good metric for evaluating the complexity of a PowerBuilder application...
First of all, it's a 4GL, not a 3GL, so things like creating and instantiating visual widgets (buttons, menus, etc)
aren't in the lines of code that you have to write. Secondly, the datawindow itself blows any LOC calculation out of
the water. The functionality behind a single line of code "dw_1.update()" is pretty incredible.
--
Paul Horan[TeamSybase]
Counting lines in objects: Lists / Objects / View / Show / Object Line
Count
Counting just lines in scripts: Lists / Scripts / View / Show / Line
Count.
Depends on what you're after. (Of course, I've yet to see a tool that
counted an ancestor script of 20 lines with 10 descendants as 200
lines. <g>)
Good luck,
Terry [TeamSybase] and Sequel the techno-kitten
On 23 Aug 2004 10:13:44 -0700, Joyce Poole wrote:
>Does anyone know of a good (preferably quick) way to count
>lines of code in a PowerBuilder application? Thanks!
Sequel's Sandbox: http://www.techno-kitten.com
Home of PBL Peeper, a free PowerBuilder Developer's Toolkit.
Version 2.2.06 now available at the Sandbox
See the PB Troubleshooting Guide at the Sandbox
^ ^
o o
=*=