06-03-2010 12:15 PM
Hello,
The company I work for is now getting into the VI metrics analysis of our programs and I am struggling with the Modularity Index. According to the Style book, the value is computed by
# of VIs / total node count * 100.
In the image, I get a value with the calculator that varies from what the Analyzer reports. Can someone tell me how the Analyzer computes that value?
Tay
06-04-2010 01:16 PM
Hi Tay,
You are correct with the equation for the modularity index. I don't know why you are getting a modularity index of 0 for that vi. Could you post the vi for me to take a closer look?
Thanks!
06-08-2010 08:57 AM - edited 06-08-2010 09:00 AM
Here you go...
By the way, LabVIEW 2009 Service Pack 1
06-08-2010 10:05 AM
Hi Tay,
I looked at your code and was unable to reproduce anything. Would you mind posting the code again with the project and with the vi analyzer task.
Thanks!
06-08-2010 10:12 AM - edited 06-08-2010 10:14 AM
Here it is...
The VI Analyzer Results folder contains the config file and not results. Not my call on the name...
06-09-2010 06:27 PM
So I look at much more in depth and the problem is actually expected as the modularity index is subvi's/nodes and if there is no subvi's it is 0/X = 0.
Hope this helps.