How is the cyclomatic complexity of an algorithm calculated ?
When checking the issues detected by Sonar, i noticed a few issues related to cyclomatic complexity. The usual message is clear : The Cyclomatic Complexity of this method “checkSomething” is 22 which is greater than 12 authorized. Indeed, the method checkSomething has way too many if conditions : Question : how is the cyclomatic complexity … Read more