Metrics – MB Java Method complexity

Sonarqube Method complexity

Cyclomatic complexity is a measure of the number of paths through a section of code.

We have developed a specific complexity measurement for ESQL code running under WMB/IIB. If you are working with JCN (Java Compute Nodes) inside WMB/IIB there is also Java equivalent, which is the original Sonarqube Issue that we based the ESQL one on.

This is the rule with Java that you would need to enable in the Java quality profile.


Complex method

The is an example of how the issue looks when it it looking at the java method invoked from a JCN.

Complex method example