Skip to content

fix(QTDI-3124): [Refactoring] Merge sonar fixes#1248

Open
undx wants to merge 61 commits into
masterfrom
ouf/QTDI-3124-sonar-fixes
Open

fix(QTDI-3124): [Refactoring] Merge sonar fixes#1248
undx wants to merge 61 commits into
masterfrom
ouf/QTDI-3124-sonar-fixes

fix(QTDI-3124): fix merge issues

c64bfbc
Select commit
Loading
Failed to load commit list.
sonar-rnd / SonarQube Code Analysis failed Jun 26, 2026 in 1m 27s

Quality Gate failed

Failed Quality Gate failed

  • 0.00% Coverage on New Code (is less than 80.00%)
  • 137 New Issues (is greater than 0)

Project ID: org.talend.sdk.component:component-runtime

View in SonarQube

Annotations

Check warning on line 75 in component-tools/src/main/java/org/talend/sdk/component/tools/StudioInstaller.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-tools/src/main/java/org/talend/sdk/component/tools/StudioInstaller.java#L75

Rename "artifacts" which hides the field declared at line 49.

Check warning on line 166 in component-tools/src/main/java/org/talend/sdk/component/tools/validator/LayoutValidator.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-tools/src/main/java/org/talend/sdk/component/tools/validator/LayoutValidator.java#L166

Provide the parametrized type for this generic.

Check warning on line 175 in component-tools/src/main/java/org/talend/sdk/component/tools/validator/LayoutValidator.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-tools/src/main/java/org/talend/sdk/component/tools/validator/LayoutValidator.java#L175

Provide the parametrized type for this generic.

Check warning on line 91 in component-tools/src/main/java/org/talend/sdk/component/tools/AsciidoctorExecutor.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-tools/src/main/java/org/talend/sdk/component/tools/AsciidoctorExecutor.java#L91

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

Check notice on line 291 in component-tools/src/main/java/org/talend/sdk/component/tools/AsciidoctorExecutor.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-tools/src/main/java/org/talend/sdk/component/tools/AsciidoctorExecutor.java#L291

Complete the task associated to this TODO comment.

Check notice on line 216 in component-tools/src/main/java/org/talend/sdk/component/tools/DitaDocumentationGenerator.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-tools/src/main/java/org/talend/sdk/component/tools/DitaDocumentationGenerator.java#L216

Use isEmpty() to check whether the collection is empty or not.

Check warning on line 567 in component-tools/src/main/java/org/talend/sdk/component/tools/DocBaseGenerator.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-tools/src/main/java/org/talend/sdk/component/tools/DocBaseGenerator.java#L567

Provide the parametrized type for this generic.

Check failure on line 56 in component-tools/src/test/java/org/talend/test/failure/aftergroup/MyComponent3.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-tools/src/test/java/org/talend/test/failure/aftergroup/MyComponent3.java#L56

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

Check failure on line 56 in component-tools/src/test/java/org/talend/test/failure/aftergroup/MyComponent2.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-tools/src/test/java/org/talend/test/failure/aftergroup/MyComponent2.java#L56

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

Check warning on line 39 in component-tools/src/test/java/org/talend/sdk/component/tools/AsciidocDocumentationGeneratorTest.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-tools/src/test/java/org/talend/sdk/component/tools/AsciidocDocumentationGeneratorTest.java#L39

Replace these 4 tests with a single Parameterized one.

Check warning on line 132 in component-runtime-design-extension/src/main/java/org/talend/sdk/component/design/extension/repository/RepositoryModelBuilder.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-design-extension/src/main/java/org/talend/sdk/component/design/extension/repository/RepositoryModelBuilder.java#L132

Provide the parametrized type for this generic.

Check failure on line 141 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/visibility/VisibilityService.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/visibility/VisibilityService.java#L141

Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed.

Check warning on line 193 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/visibility/VisibilityService.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/visibility/VisibilityService.java#L193

Provide the parametrized type for this generic.

Check warning on line 151 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/visibility/VisibilityService.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/visibility/VisibilityService.java#L151

Provide the parametrized type for this generic.

Check warning on line 66 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/parameterenricher/DependencyParameterEnricher.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/parameterenricher/DependencyParameterEnricher.java#L66

Provide the parametrized type for this generic.

Check warning on line 54 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/parameterenricher/ValidationParameterEnricher.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/parameterenricher/ValidationParameterEnricher.java#L54

Extract this nested ternary operation into an independent statement.

Check warning on line 54 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/parameterenricher/ValidationParameterEnricher.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/parameterenricher/ValidationParameterEnricher.java#L54

Provide the parametrized type for this generic.

Check warning on line 179 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/parameterenricher/UiParameterEnricher.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/parameterenricher/UiParameterEnricher.java#L179

Provide the parametrized type for this generic.

Check warning on line 139 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java#L139

Provide the parametrized type for this generic.

Check warning on line 210 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java#L210

Provide the parametrized type for this generic.

Check warning on line 143 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java#L143

Merge this if statement with the enclosing one.

Check warning on line 371 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java#L371

Provide the parametrized type for this generic.

Check warning on line 98 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java#L98

Provide the parametrized type for this generic.

Check warning on line 94 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java#L94

Provide the parametrized type for this generic.

Check warning on line 143 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/reflect/ParameterModelService.java#L143

Provide the parametrized type for this generic.