Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/03/2009 in all areas

  1. "Code Coverage" is a a relative term and it doesn't really mean execution paths (that's cyclomatic complexity, which is very difficult to conceptualize with any programming language, and LabVIEW in particular). More info here (at arond the 15 minute mark). OK - the image is a little difficult to follow because it doesn't show that what we're actually counting here are diagrams - each of the executed pages is a diagram, and the main BD is counted a diagram, so that adds up to 3 diagrams executed. There are a total of 6 diagrams (the main BD, 2 cases in the first structure and 3 in the second), so that's a total of 3/6 = 50%. It is *not* tracing paths at the component level - it's tracing them at the diagram level. This all makes sense (it's the same method used by the VISTA Code Coverage Toolkit from oh so many years ago) - if the main BD wasn't counted, then the aggregate matrics for a whole project would be wrong. I just got the skinny from Eli Kerry (one of the benefits of being on the ground at NI-Week 09 ) and he gave me this - I think that the colour coding goes a long way in making it more clear: It's the green diagrams that are counted in this test case. ...and here's the coverage graphic for the 2nd test vector:
    2 points
  2. Download LabVIEW 2009 (755 MB) Download LabVIEW 2009 (64-bit, 822 MB)
    1 point
  3. It's just tu pun together some pics from this topic and little bit more... So we already saw that wires may go diagonally: Then that they may have almost any shape: Michael showed us how execution dots propagates on such wires: Link Sources for creating such wires here. Now I'm getting crazy. Sit down, fasten your seat belts, hold your breatch and watch this. Although it does not run too fast (no more than 10 fps on my computer) but Jing slowed it down even more, so in real everything happens much more smoothly. If you would like to play with this: controls or nodes which have labels are fixed to backgroung. Don't change damping too much. Don't put too much objects on BD. Always wire both inner and outer terminals in tunels. Sources attached. spring-wires.zip
    1 point
  4. I don't understand the math entirely either, but I'm confident it is correct if only because two math nerds explained it to me twice. I actually understood it for a brief moment after the second explanation, but then I forgot.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.