Skip to content

refactor(cli): split EnrichCommand.enrichFromCache to drop cognitive complexity (RAN-41)#73

Merged
aksOps merged 1 commit into
mainfrom
fix/ran-41-enrich-complexity
Apr 25, 2026
Merged

refactor(cli): split EnrichCommand.enrichFromCache to drop cognitive complexity (RAN-41)#73
aksOps merged 1 commit into
mainfrom
fix/ran-41-enrich-complexity

refactor(cli): split EnrichCommand.enrichFromCache into phase helpers…

7309d0f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 24, 2026 in 1m 10s

Quality Gate failed

Annotations

Check warning on line 383 in src/main/java/io/github/randomcodespace/iq/cli/EnrichCommand.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this call to the constructor with the better suited static method HashSet.newHashSet(int numMappings)

See more on https://sonarcloud.io/project/issues?id=RandomCodeSpace_codeiq&issues=AZ3BdV0Upz1wVSI8r-vo&open=AZ3BdV0Upz1wVSI8r-vo&pullRequest=73

Check warning on line 449 in src/main/java/io/github/randomcodespace/iq/cli/EnrichCommand.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty map instead of null.

See more on https://sonarcloud.io/project/issues?id=RandomCodeSpace_codeiq&issues=AZ3BdV0Upz1wVSI8r-vp&open=AZ3BdV0Upz1wVSI8r-vp&pullRequest=73

Check warning on line 467 in src/main/java/io/github/randomcodespace/iq/cli/EnrichCommand.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "ignored" with an unnamed pattern.

See more on https://sonarcloud.io/project/issues?id=RandomCodeSpace_codeiq&issues=AZ3BdV0Upz1wVSI8r-vr&open=AZ3BdV0Upz1wVSI8r-vr&pullRequest=73

Check warning on line 456 in src/main/java/io/github/randomcodespace/iq/cli/EnrichCommand.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty map instead of null.

See more on https://sonarcloud.io/project/issues?id=RandomCodeSpace_codeiq&issues=AZ3BdV0Upz1wVSI8r-vq&open=AZ3BdV0Upz1wVSI8r-vq&pullRequest=73