Skip to content

fix: Address 2 SonarQube issues

f898b06
Select commit
Loading
Failed to load commit list.
Open

fix: eliminate string literal duplications in PlantUML mapping #33

fix: Address 2 SonarQube issues
f898b06
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 11, 2026 in 20s

Quality Gate failed

Failed conditions
B Maintainability 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 174 in PlantUML/construct_mappings.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary "keys()" call.

See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4WSE3gCmMGJffqmMwr&open=AZ4WSE3gCmMGJffqmMwr&pullRequest=33

Check failure on line 317 in PlantUML/construct_mappings.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal '\nmap "' 7 times.

See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4WSE3gCmMGJffqmMwm&open=AZ4WSE3gCmMGJffqmMwm&pullRequest=33

Check warning on line 158 in PlantUML/construct_mappings.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary "keys()" call.

See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4WSE3gCmMGJffqmMwp&open=AZ4WSE3gCmMGJffqmMwp&pullRequest=33

Check warning on line 181 in PlantUML/construct_mappings.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary "keys()" call.

See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4WSE3gCmMGJffqmMws&open=AZ4WSE3gCmMGJffqmMws&pullRequest=33

Check warning on line 165 in PlantUML/construct_mappings.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary "keys()" call.

See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4WSE3gCmMGJffqmMwq&open=AZ4WSE3gCmMGJffqmMwq&pullRequest=33

Check warning on line 138 in PlantUML/construct_mappings.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary "keys()" call.

See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4WSE3gCmMGJffqmMwo&open=AZ4WSE3gCmMGJffqmMwo&pullRequest=33

Check failure on line 317 in PlantUML/construct_mappings.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal ' #back:WhiteSmoke;header:LightGray {' 9 times.

See more on https://sonarcloud.io/project/issues?id=ansforge_IG-workflows&issues=AZ4WSE3gCmMGJffqmMwn&open=AZ4WSE3gCmMGJffqmMwn&pullRequest=33