fix: resolve 5 SonarQube issues - merge nested ifs and extract constants #32
Quality Gate passed
Annotations
Check failure on line 317 in PlantUML/construct_mappings.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal '" as ' 9 times.
See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4L_DA2SPEsZhVbr4zQ&open=AZ4L_DA2SPEsZhVbr4zQ&pullRequest=32
Check warning on line 69 in PlantUML/construct_mapping_global.py
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary "keys()" call.
See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4L_DDASPEsZhVbr4zW&open=AZ4L_DDASPEsZhVbr4zW&pullRequest=32
Check failure on line 340 in PlantUML/construct_mappings.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal ' *--> ' 3 times.
See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4L_DA2SPEsZhVbr4zO&open=AZ4L_DA2SPEsZhVbr4zO&pullRequest=32
Check warning on line 163 in PlantUML/construct_mappings.py
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary "keys()" call.
See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4L_DA2SPEsZhVbr4zT&open=AZ4L_DA2SPEsZhVbr4zT&pullRequest=32
Check warning on line 156 in PlantUML/construct_mappings.py
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary "keys()" call.
See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4L_DA2SPEsZhVbr4zS&open=AZ4L_DA2SPEsZhVbr4zS&pullRequest=32
Check warning on line 136 in PlantUML/construct_mappings.py
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary "keys()" call.
See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4L_DA2SPEsZhVbr4zR&open=AZ4L_DA2SPEsZhVbr4zR&pullRequest=32
Check warning on line 179 in PlantUML/construct_mappings.py
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary "keys()" call.
See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4L_DA2SPEsZhVbr4zV&open=AZ4L_DA2SPEsZhVbr4zV&pullRequest=32
Check warning on line 172 in PlantUML/construct_mappings.py
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary "keys()" call.
See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4L_DA2SPEsZhVbr4zU&open=AZ4L_DA2SPEsZhVbr4zU&pullRequest=32
Check failure on line 317 in PlantUML/construct_mappings.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal '\nmap "' 8 times.
See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4L_DA2SPEsZhVbr4zP&open=AZ4L_DA2SPEsZhVbr4zP&pullRequest=32