LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting vi's to lines of code

All,
In order to review and grade our code we would like to use 'lines of code'
as a basis of measurement (ex. 2 defects per 1000 lines of code). Since
labview is graphical this provides an obstacle. Is there a standard for
converting labview vi's into lines of code for measuring quality?

Dan Troutt
Note : Remove 'nospam' from email address to email. Thanks.
0 Kudos
Message 1 of 4
(3,803 Views)
Dan Troutt wrote:

> All,
> In order to review and grade our code we would like to use 'lines of code'
> as a basis of measurement (ex. 2 defects per 1000 lines of code). Since
> labview is graphical this provides an obstacle. Is there a standard for
> converting labview vi's into lines of code for measuring quality?
>
> Dan Troutt
> Note : Remove 'nospam' from email address to email. Thanks.

There is a VI package (I believe it is the Pro G Developers Toolkit)
that has VI Metrics. This shows number of nodes, wires, etc etc.
I believe that this is similar to current SW metrics (maybe not Lines of
code).
I cant find the manual right now, but this may be what you are looking for.
Kevin Kent
0 Kudos
Message 2 of 4
(3,803 Views)
The URL for the Manual is: http://www.ni.com/pdf/manuals/321393b.pdf and
the VI Metrics Tool section of the manual is chapter 8.

Most manuals for NI products are available on the web at : https://digital.natinst.com/manuals.nsf/web/byproductcurrent

I hope that this helps,
Bob Young
National Instruments


"Kevin B. Kent" wrote:
>Dan Troutt wrote:>>> All,>> In order to review and grade our code we would
like to use 'lines of code'>> as a basis of measurement (ex. 2 defects per
1000 lines of code). Since>> labview is graphical this provides an obstacle.
Is there a standard for>> converting labview vi's into lines of code for
measuring quality?>>>> Dan Troutt>> Note : Remove 'nospam' from email address
to email. Thanks.>>There is a
VI package (I believe it is the Pro G Developers
Toolkit)>that has VI Metrics. This shows number of nodes, wires, etc etc.>I
believe that this is similar to current SW metrics (maybe not Lines of>code).>I
cant find the manual right now, but this may be what you are looking for.>
Kevin Kent>
0 Kudos
Message 3 of 4
(3,803 Views)
I can find the manual but nothing about info on the Toolkit itself (ordering,
product info). Am I missing something? Where is it?

Dan
Note: To email me remove 'nospam' from my email address. Thanks!
0 Kudos
Message 4 of 4
(3,803 Views)