How the Complexity is calculating in Version 6.7.4

sonarqube

(Sarath Babu) #1

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) - Version 6.7.4
  • what are you trying to achieve - to check for the complexity value
  • what have you tried so far to achieve this - we have the value for complexity but not sure how the values are coming
    image

(G Ann Campbell) #2

Hi,

It’s not clear to me what you’re asking, or why your screenshot includes your Jira.

 
Ann


(Sarath Babu) #3

Hi,

Please find the Details below

can you please explain how we are measuring the Complexity value

As per my understanding its Functions/Cyclomatic Complexity = 3/4 = 1.33

is it right or can you provide the details


(G Ann Campbell) #4

Hi,

These project-level metrics are going to be project-wide sums, not averages.

 
HTH,
Ann