SONARPLUGINS-3033 The complexity should not only be computed when the ComplexityCheck rule is enabled