Architecture Issues - #2987
Quality Gate failed
Failed conditions
5.0% Duplication on New Code (required ≤ 3%)
C Security Rating on New Code (required ≥ A)
B Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 362 in .github/workflows/github_test_action.yml
sonarqubecloud / SonarCloud Code Analysis
Omitting "--no-build" can lead to the execution of setup scripts. Make sure it is safe here.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGh7B32-Tlj6-Bzto&open=AZ_XGh7B32-Tlj6-Bzto&pullRequest=2987
Check warning on line 289 in pandapower/create/utils.py
sonarqubecloud / SonarCloud Code Analysis
Introduce a new variable or use its initial value before reassigning 'dtype'.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGhex32-Tlj6-Bztb&open=AZ_XGhex32-Tlj6-Bztb&pullRequest=2987
Check failure on line 359 in pandapower/create/utils.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGhex32-Tlj6-Bztc&open=AZ_XGhex32-Tlj6-Bztc&pullRequest=2987
Check warning on line 129 in test/create/test_bus_create.py
sonarqubecloud / SonarCloud Code Analysis
This assertion is too broad; use a more specific exception type or check the exception message.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGhtL32-Tlj6-Bztk&open=AZ_XGhtL32-Tlj6-Bztk&pullRequest=2987
Check failure on line 394 in pandapower/create/utils.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGhex32-Tlj6-Bzte&open=AZ_XGhex32-Tlj6-Bzte&pullRequest=2987
Check warning on line 133 in test/create/test_gen_create.py
sonarqubecloud / SonarCloud Code Analysis
This assertion is too broad; use a more specific exception type or check the exception message.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGhs532-Tlj6-Bzti&open=AZ_XGhs532-Tlj6-Bzti&pullRequest=2987
Check warning on line 103 in .github/workflows/github_test_action.yml
sonarqubecloud / SonarCloud Code Analysis
Using dependencies without locking resolved versions is security-sensitive.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGh7B32-Tlj6-Bztm&open=AZ_XGh7B32-Tlj6-Bztm&pullRequest=2987
Check warning on line 368 in .github/workflows/github_test_action.yml
sonarqubecloud / SonarCloud Code Analysis
Using dependencies without locking resolved versions is security-sensitive.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGh7B32-Tlj6-Bztr&open=AZ_XGh7B32-Tlj6-Bztr&pullRequest=2987
Check warning on line 117 in test/create/test_motor_create.py
sonarqubecloud / SonarCloud Code Analysis
This assertion is too broad; use a more specific exception type or check the exception message.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGhss32-Tlj6-Bzth&open=AZ_XGhss32-Tlj6-Bzth&pullRequest=2987
Check failure on line 610 in pandapower/diagnostic/diagnostic_functions.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "PASSED: Power flow converges. No line capacitance problems found." 3 times.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGhnT32-Tlj6-Bztg&open=AZ_XGhnT32-Tlj6-Bztg&pullRequest=2987
Check warning on line 374 in .github/workflows/github_test_action.yml
sonarqubecloud / SonarCloud Code Analysis
Omitting "--no-build" can lead to the execution of setup scripts. Make sure it is safe here.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGh7B32-Tlj6-Bzts&open=AZ_XGh7B32-Tlj6-Bzts&pullRequest=2987
Check failure on line 148 in .github/workflows/github_test_action.yml
sonarqubecloud / SonarCloud Code Analysis
Use full commit SHA hash for this dependency.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGh7B32-Tlj6-Bztn&open=AZ_XGh7B32-Tlj6-Bztn&pullRequest=2987
Check warning on line 368 in .github/workflows/github_test_action.yml
sonarqubecloud / SonarCloud Code Analysis
Omitting "--no-build" can lead to the execution of setup scripts. Make sure it is safe here.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGh7B32-Tlj6-Bztq&open=AZ_XGh7B32-Tlj6-Bztq&pullRequest=2987
Check failure on line 615 in pandapower/diagnostic/diagnostic_functions.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Checking for too high line capacitance...\n" 3 times.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGhnT32-Tlj6-Bztf&open=AZ_XGhnT32-Tlj6-Bztf&pullRequest=2987
Check warning on line 113 in test/create/test_ext_grid_create.py
sonarqubecloud / SonarCloud Code Analysis
This assertion is too broad; use a more specific exception type or check the exception message.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGhtC32-Tlj6-Bztj&open=AZ_XGhtC32-Tlj6-Bztj&pullRequest=2987
Check warning on line 138 in test/create/test_bus_create.py
sonarqubecloud / SonarCloud Code Analysis
This assertion is too broad; use a more specific exception type or check the exception message.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGhtL32-Tlj6-Bztl&open=AZ_XGhtL32-Tlj6-Bztl&pullRequest=2987
Check warning on line 374 in .github/workflows/github_test_action.yml
sonarqubecloud / SonarCloud Code Analysis
Using dependencies without locking resolved versions is security-sensitive.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGh7B32-Tlj6-Bztt&open=AZ_XGh7B32-Tlj6-Bztt&pullRequest=2987
Check warning on line 377 in pandapower/create/utils.py
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this "TODO" comment.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGhex32-Tlj6-Bztd&open=AZ_XGhex32-Tlj6-Bztd&pullRequest=2987
Check warning on line 362 in .github/workflows/github_test_action.yml
sonarqubecloud / SonarCloud Code Analysis
Using dependencies without locking resolved versions is security-sensitive.
See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ_XGh7B32-Tlj6-Bztp&open=AZ_XGh7B32-Tlj6-Bztp&pullRequest=2987