Hello Segger Team,
an automatic quality check during dev-ops processes is nowadays quite standard. Sadly, Embedded Studio does not work together with SonarQube which is one of the major tools for static code/program analysis.
SonarQube adds a build-wrapper to monitor the calls to the compiler and does an analysis based on this information over the code. GCC and CLANG is supported out of the box, but it does not work in Embedded Studio because it does not use the frontend but calls directly internal functionality. In case of the gcc, cc1plus is called and for CLANG (and the segger compiler which is based on CLANG) the option -cc1 is added.
Take a look at this ticket for mor information: jira.sonarsource.com/plugins/servlet/mobile#issue/CPP-2060
Do you see any possibility to alter the build steps to use the frontend of each compiler? Or could you contact SonarQube to help them to support Embedded Studio with non frontend calls?
I think this could be a big benefit for developers to be able to integrate Embedded Studio in the dev-ops process together with a static-code analysis.
Regards
an automatic quality check during dev-ops processes is nowadays quite standard. Sadly, Embedded Studio does not work together with SonarQube which is one of the major tools for static code/program analysis.
SonarQube adds a build-wrapper to monitor the calls to the compiler and does an analysis based on this information over the code. GCC and CLANG is supported out of the box, but it does not work in Embedded Studio because it does not use the frontend but calls directly internal functionality. In case of the gcc, cc1plus is called and for CLANG (and the segger compiler which is based on CLANG) the option -cc1 is added.
Take a look at this ticket for mor information: jira.sonarsource.com/plugins/servlet/mobile#issue/CPP-2060
Do you see any possibility to alter the build steps to use the frontend of each compiler? Or could you contact SonarQube to help them to support Embedded Studio with non frontend calls?
I think this could be a big benefit for developers to be able to integrate Embedded Studio in the dev-ops process together with a static-code analysis.
Regards