Skip to content

sonar.cxx.metric.func.size.threshold

guwirth edited this page Mar 10, 2021 · 3 revisions

The configuration parameter sonar.cxx.metric.func.size.threshold is used to configure the CXX Metrics Big 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 Big Functions .... Functions and methods with more lines of code are classified as 'big'.

The metric is displayed in the SonarQube UI under Project > Measures > CXX.

Example:

sonar.cxx.metric.func.size.threshold=20
Clone this wiki locally