R28 – Cyclomatic Complexity is higher then the threshold (WMB)

Cyclomatic Complexity is higher then the threshold (WMB)

Cyclomatic Complexity is a measure of how many paths there are through a piece of code. The more paths through the code, the more permutations there are to test and also more complicated the code is to understand.
What is Cyclomatic Complexity ?

This can be configured on a per project basis using the following property (the default is 10):

sonar.mb.esql.complexity 20