You can generate code coverage of a project by placing a checkmark in the Include VIs that were not tested checkbox on the Unit Test Framework page.

When you execute this test, LabVIEW opens all VIs in this project to count subdiagrams and generates the code coverage of this project. For example, you can create a project that contains two VIs and each VI contains three subdiagrams and a test case that covers all three subdiagrams of one VI. When you execute this test, LabVIEW opens both VIs to count subdiagrams. Because this projects contains six subdiagrams and the test covers three subdiagrams, the project code coverage measurement is 50%.

Note If a project contains a large number of VIs, opening these VIs can slow performance.