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.

CCS: Code nesting level - Report

Tool/software: Code Composer Studio

Dear all,

I would like to know if it is posible to obtain a report of the code nesting level with CCS.

If this is not possible, do you recommend any other software to do that?

Best regards,

Mário

  • Hello Mario,

    could you be a bit more specific about code nesting?
  • Mario Martins Sousa said:
    I would like to know if it is posible to obtain a report of the code nesting level with CCS.

    I don't believe there is anything built into CCS to do this. You would need to look into commercial products, some of which may have Eclipse plugins that could plug into CCS. Some products for static code analysis/unit testing that come to mind are Klocworks, LDRA, Parasoft but you would need to check directly with them if they support what you are specifically looking for.

  • Mario Martins Sousa said:
    I would like to know if it is posible to obtain a report of the code nesting level with CCS.

    The CCS Stack Usage View, or the call_graph utility in the cg_xml tools, can display the code nesting level as a side-effect of calculating the stack usage of the program. Not sure if that meets your requirement.

    If the program makes indirect calls (via function pointers) then these tools need to be told the indirect function calls made to correctly display the code nesting level.