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/TMS320F28379D: Is there an option to check code complexity in the Code Composer Studio

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Hello folks,

is there an option available in Code Composer Studio V10 to check the Cyclomatic Complexity built-in?

  • Mohan,

    Code Composer Studio does not include anything for measuring Cyclomatic Complexity.

    There are commercial code analysis tools that do this like LDRA, ParaSoft and others.

    Alternatively you could try to find an eclipse plugin.  

    Regards,
    John

  • Thank you John,

    I tried to install a few eclipse plugins, but the installation did not succeed. Any limitations are there?

  • Mohan,

    Yes there can be limitations with installing Eclipse plug-ins.

    1. They need to be compatible with the verison of Eclipse that CCS uses.  CCSv10 uses Eclipse 4.14
    2. They may require additional Eclipse components to be installed.  i.e. they may require some other component that does not come with CCS and you would need to install those.

    I did install one called metriculator that I saw referenced online.  It installed fine but I don't see the desired functionality.

    Which ones did you try to install?

    Regards,

    John

  • Yes, John,

    I tried the same (metriculator), and received an error stating "The following solutions are not compatible with this version of Eclipse"

    I am new to the eclipse environment.

  • Mohan,

    I was able to install metricular into CCSv10 ok.  

    In CCS I went to Help -> Install New Software.

    I then specfiied https://metriculator.ideadapt.net as the update site.

    For this one I could not get it to do much.  To open the tool I went to View -> Other  and then typed in metriculator.

    John