-
Notifications
You must be signed in to change notification settings - Fork 362
sonar.cxx.metric.func.complexity.threshold
guwirth edited this page Mar 10, 2021
·
3 revisions
The configuration parameter sonar.cxx.metric.func.complexity.threshold
is used to configure the CXX Metrics Complex Functions ...
. The configuration can be done in the file sonar-project.properties
or in the SonarQube UI under Administartion > Configuration > CXX.
The parameter defines the threshold for Complex Functions ...
. Functions and methods with a higher cyclomatic complexity are classified as 'complex'.
The metric is displayed in the SonarQube UI under Project > Measures > CXX.
Example:
sonar.cxx.metric.func.complexity.threshold=10