Complexity metrics


(Gerard Hysa) #1

For some projects the complexity metrics shows up however, for some other projects complexity is not shown as an option. I wanted to know why this could be the case.
Thank you


(G Ann Campbell) #2

Hi,

We’ll need more details to be able to help you. For instance, you might provide: SonarQube version, project languages, where you are (not) seeing complexity values, …

Ann


(Gerard Hysa) #3

Hi Ann,

I am using SonarCloud. Projects in C and C++ do not show the complexity metric under Measures while for some other projects the complexity metric shows up under Measures.

Gerard


(Gerard Hysa) #4

Hi Ann,

I just checked again and I realized that some projects in Python also do not have the complexity metric provided. Some C/C++ projects show it but majority of my projects in C/C++ do not. I could not understand why sometimes for specific projects this metric does not show.

Thank you,
Gerard


(G Ann Campbell) #5

Hi Gerard,

Since you’re on SonarCloud, could you maybe point to some of the projects in question? Or are they private?

Ann


(Gerard Hysa) #6

Hi Ann,

For example the following project does not show complexity

https://sonarcloud.io/dashboard?id=delly

Gerard


(G Ann Campbell) #7

Hi Gerard,

Huh.

Here are some that do:

The question is what’s the difference. Are you using the build wrapper?

Ann


(Gerard Hysa) #8

Hi Ann,

I found out that I had a problem with the build wrapper. I managed to fix it now.

Thank you very much.
Gerard