This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Branch coverage analysis using XDS560 Pro Trace with TMS570LC43xx

I am currently using the code coverage analyzer to make sure test cases cover all the logic run on the MCU. 

However, the line, function and instruction coverage options available only check for statement coverage. I would like to also consider the "empty" branches in control structures without explicitly including else statements in the code. Is it possible to check for branch coverage using the XDS560 Pro Trace?

For example, I have an if statement without an else statement and I only run tests where the if statement always evaluates true,  only 1/2 of the branches should be covered in branch coverage analysis while the code is completely covered in statement coverage analysis.  

Thank you in advance! 

  • Hi Judy,

    I don't think so, but i'll move your post to the CCS forum where someone may be able to answer better.

    The issue I think is mainly one of what's built into CCS in terms of analysis capability though. You should be able to save the trace data to a file and do some custom analysis if you really need to.

    -Anthony