Skip to content

Merge branch 'main' into feature/pgm-cli

c46dfb3
Select commit
Loading
Failed to load commit list.
Draft

[Experimental] PGM CLI implementation #1297

Merge branch 'main' into feature/pgm-cli
c46dfb3
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 12, 2026 in 1m 39s

Quality Gate failed

Annotations

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=AZ4cxQdTkrCMl8YOGjQ5&open=AZ4cxQdTkrCMl8YOGjQ5&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=AZ4cxQgJkrCMl8YOGjQ8&open=AZ4cxQgJkrCMl8YOGjQ8&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=AZ4cxQdTkrCMl8YOGjQ2&open=AZ4cxQdTkrCMl8YOGjQ2&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=AZ4cxQdTkrCMl8YOGjQ4&open=AZ4cxQdTkrCMl8YOGjQ4&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=AZ4cxQdTkrCMl8YOGjQ1&open=AZ4cxQdTkrCMl8YOGjQ1&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=AZ4cxQdTkrCMl8YOGjQ6&open=AZ4cxQdTkrCMl8YOGjQ6&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=AZ4cxQdTkrCMl8YOGjQ7&open=AZ4cxQdTkrCMl8YOGjQ7&pullRequest=1297

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=AZ4cxQdTkrCMl8YOGjQ3&open=AZ4cxQdTkrCMl8YOGjQ3&pullRequest=1297