Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Counting Lines of Code

393 views
Skip to first unread message

joycepoole

unread,
Aug 23, 2004, 1:13:44 PM8/23/04
to
Hi!
Does anyone know of a good (preferably quick) way to count
lines of code in a PowerBuilder application? Thanks!

Mark

unread,
Aug 23, 2004, 1:18:13 PM8/23/04
to
> Hi!
> Does anyone know of a good (preferably quick) way to count
> lines of code in a PowerBuilder application? Thanks!
Are you looking for the number of lines in the entire app or
in one window?
Mark

Paul Horan[TeamSybase]

unread,
Aug 23, 2004, 2:03:31 PM8/23/04
to
<Joyce Poole> wrote in message news:412a25c8.1d4...@sybase.com...

> Hi!
> Does anyone know of a good (preferably quick) way to count
> lines of code in a PowerBuilder application? Thanks!

http://www.visual-expert.com/

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]


Terry Voth

unread,
Aug 23, 2004, 2:27:30 PM8/23/04
to
PBL Peeper (see below).

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
=*=

0 new messages