Skip to content

Merge branch 'main' into feature/pgm-cli

a6d3546
Select commit
Loading
Failed to load commit list.
Draft

[Experimental] PGM CLI implementation #1297

Merge branch 'main' into feature/pgm-cli
a6d3546
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 9, 2026 in 3m 59s

Quality Gate failed

Annotations

Check warning on line 73 in power_grid_model_c/power_grid_model_cli/cli_options.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "empty()" to check whether the container is empty or not.

See more on https://sonarcloud.io/project/issues?id=PowerGridModel_power-grid-model&issues=AZwex5xhhvk-1qHjAkrz&open=AZwex5xhhvk-1qHjAkrz&pullRequest=1297

Check warning on line 153 in power_grid_model_c/power_grid_model_cli/cli_options.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the init-statement to declare "parent" inside the if statement.

See more on https://sonarcloud.io/project/issues?id=PowerGridModel_power-grid-model&issues=AZwex5xhhvk-1qHjAkr1&open=AZwex5xhhvk-1qHjAkr1&pullRequest=1297

Check warning on line 79 in power_grid_model_c/power_grid_model_cli/cli_options.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "empty()" to check whether the container is empty or not.

See more on https://sonarcloud.io/project/issues?id=PowerGridModel_power-grid-model&issues=AZwex5xhhvk-1qHjAkr0&open=AZwex5xhhvk-1qHjAkr0&pullRequest=1297

Check warning on line 71 in power_grid_model_c/power_grid_model_cli/cli_options.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace with the version of "std::ranges::transform" that takes a range.

See more on https://sonarcloud.io/project/issues?id=PowerGridModel_power-grid-model&issues=AZwex5xhhvk-1qHjAkry&open=AZwex5xhhvk-1qHjAkry&pullRequest=1297

Check warning on line 28 in power_grid_model_c/power_grid_model_cli/cli_options.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the transparent comparator "std::less<>" with this associative string container.

See more on https://sonarcloud.io/project/issues?id=PowerGridModel_power-grid-model&issues=AZwex5xhhvk-1qHjAkrx&open=AZwex5xhhvk-1qHjAkrx&pullRequest=1297

Check warning on line 246 in power_grid_model_c/power_grid_model_cli/cli_options.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this overloaded operator a hidden friend of class "ClIOptions".

See more on https://sonarcloud.io/project/issues?id=PowerGridModel_power-grid-model&issues=AZwex5xhhvk-1qHjAkr3&open=AZwex5xhhvk-1qHjAkr3&pullRequest=1297

Check warning on line 150 in power_grid_model_c/power_grid_model_cli/cli_options.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this parameter a reference-to-const. The current type of "input" is "class std::basic_string<char> &".

See more on https://sonarcloud.io/project/issues?id=PowerGridModel_power-grid-model&issues=AZwex5xhhvk-1qHjAkr2&open=AZwex5xhhvk-1qHjAkr2&pullRequest=1297

Check warning on line 23 in power_grid_model_c/power_grid_model_cli/cli_functions.hpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this structure so it has no more than 20 fields, rather than the 21 it currently has.

See more on https://sonarcloud.io/project/issues?id=PowerGridModel_power-grid-model&issues=AZwex52hhvk-1qHjAkr5&open=AZwex52hhvk-1qHjAkr5&pullRequest=1297