LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out our VI Scripting Code Repository Files and visit the LabVIEW Wiki VI Scripting article


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Calculate VI Modularity Index
Phillip Brooks
post Oct 12 2007, 11:05 AM
Post #1


Extremely Active
****

Premium Member
Posts: 713
Joined: 3-November 04
From: Boston, MA
Member No.: 949
Using LabVIEW Since:1999
LV:7.0 ,8.20 ,8.0
us_massachusetts France Thailand My Gallery


I've posted the VI I mentioned on the NI forums here as it uses undocumented features.

I put very little time into this; if someone has the time to deal with the recursion and sees value in calculating the VI Modularity Index; go for it!

Attached File  VI_Modularity_Index.vi ( 49.6K ) Number of downloads: 277
(LabVIEW 8.5)

Attached File  VI_Modularity_Index_71.vi ( 86.46K ) Number of downloads: 273
(Uses OpenG toolkit)



--------------------



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Oct 12 2007, 11:05 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Troy K
post Jul 11 2008, 05:58 AM
Post #2


One hit wonder!


Member
Posts: 1
Joined: 20-May 08
From: Melbourne, Australia
Member No.: 11537
Using LabVIEW Since:2000
LV:8.5.1 ,. ,.
Australia Nothing Selected Nothing Selected


Had a quick go at making your VI_Modularity_Index.vi recursive.

(In LabVIEW 8.5.1)

PS. Thanks for the undocumented feature. Very handy if you don't have LabVIEW Professional!

This post has been edited by Troy K: Jul 11 2008, 05:59 AM
Attached File(s)
Attached File  VI_Modularity_Index___recursive.vi ( 74.02K ) Number of downloads: 105
 


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
crelf
post Jul 11 2008, 02:40 PM
Post #3


I'm a LAVA, not a fighter.
******

V I Engineering, Inc.
Posts: 3849
Joined: 13-October 03
From: Michigan, USA
Member No.: 181
Using LabVIEW Since:1993
LV:8.5 ,. ,.
Australia United States Nothing Selected My Blog


QUOTE (Troy K @ Jul 11 2008, 01:58 AM) *
Had a quick go at making your VI_Modularity_Index.vi recursive.

As mentioned in the original post on the NI Discussion forums, the modularity index (like most programming language metrics) is heuristic. That means that the number alone means nothing - it's when you compare the number with results from code components that can be correlated.

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 8th January 2009 - 01:02 AM