LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Code coverge analysis

Is there a way to do code coverage analysis with LW CVI? Is it possible to use
the CVI IDE's ActiveX automation features to accomplish this? Thanks in advance,

Nick J
0 Kudos
Message 1 of 3
(2,836 Views)
Hello

CVI does have some memory leak detection functions ( CVIDynamicMemoryInfo() ),but we do not have any lint-like tools (performance analysis, code coverage) for CVI.

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 3
(2,836 Views)
Bilal,
By "code coverage" I actually was referring to a feature that keeps track of
which lines of source code have been executed at run-time. This lets you see
which lines of code you've actually tested (so you can know if your test suite
was thorough or not) and it can also be useful for finding out which lines of
code may have executed just prior to trapping an event (e.g. hitting a
breakpoint). I know CVI has some very useful features like run-time array index
bounds-checking, null-pointer dereference checking and the like that are usually
associated with "safe" languages like Java and since there are code coverage
analysis tools for Java (e.g. http://www.thecortex.net/clover/ ) I thought CVI
might have it. Is there any documentation on exactly what run-ti
me safety and
sanity checking CVI has?
Nick
0 Kudos
Message 3 of 3
(2,836 Views)