03-29-2019 11:59 AM
Check attached file . Nothing much is added in standard template and still it shows code complexity of 2.0
04-02-2019 11:23 AM
@Vishnu.R wrote:
Check attached file . Nothing much is added in standard template and still it shows code complexity of 2.0
A complexity of 2 is surprisingly low for the complicated VI you attached (See below). Note that some of the complexity comes from your debugging settings, allowing you to probe all these wires. Once you disable debugging, the complexity drops to 1.4.
This is not a simple VI! (two parallel loops, event structure with 6 different event cases (one dynamic), case structure with 30+ cases, etc. 🐵
04-02-2019 08:56 PM
There is a free utility on the LVTN that will display Compiled Code Complexity for all the VIs in the project as well as 41 other properties in a single window. Here is your project as it is displayed. You might find it interesting to examine your full project. Click the Complex title to sort the project by CCC.
04-04-2019 02:19 PM
Thanks for checking file. Now I know what to do.