Skip to content

Java21+Spring6 upgrade, Keycloak removal #151

Java21+Spring6 upgrade, Keycloak removal

Java21+Spring6 upgrade, Keycloak removal #151

Triggered via pull request November 19, 2024 16:59
Status Success
Total duration 35s
Artifacts 1

pmd.yml

on: pull_request
pmd-code-scan
25s
pmd-code-scan
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "PMD Report". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
pmd-code-scan
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Avoid unused private fields such as 'logger'.: file:///home/runner/work/VIP-portal/VIP-portal/vip-api/src/main/java/fr/insalyon/creatis/vip/api/security/apikey/ApikeyAuthenticationToken.java#L48
Detects when a private field is declared and/or assigned a value, but not used. Since PMD 6.50.0 private fields are ignored, if the fields are annotated with any annotation or the enclosing class has any annotation. Annotations often enable a framework (such as dependency injection, mocking or e.g. Lombok) which use the fields by reflection or other means. This usage can't be detected by static code analysis. Previously these frameworks where explicitly allowed by listing their annotations in the property "ignoredAnnotations", but that turned out to be prone of false positive for any not explicitly considered framework. UnusedPrivateField (Priority: 3, Ruleset: Best Practices) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unusedprivatefield
Avoid unused constructor parameters such as 'applicationName'.: file:///home/runner/work/VIP-portal/VIP-portal/vip-application/src/main/java/fr/insalyon/creatis/vip/application/client/view/launch/DocumentationSection.java#L51
Reports parameters of methods and constructors that are not referenced them in the method body. Parameters whose name starts with `ignored` or `unused` are filtered out. Removing unused formal parameters from public methods could cause a ripple effect through the code base. Hence, by default, this rule only considers private methods. To include non-private methods, set the `checkAll` property to `true`. UnusedFormalParameter (Priority: 3, Ruleset: Best Practices) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unusedformalparameter
Avoid unused private methods such as 'addDisablesInputs(String, Set<String>)'.: file:///home/runner/work/VIP-portal/VIP-portal/vip-application/src/main/java/fr/insalyon/creatis/vip/application/client/view/launch/LaunchFormLayout.java#L418
Unused Private Method detects when a private method is declared but is unused. UnusedPrivateMethod (Priority: 3, Ruleset: Best Practices) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unusedprivatemethod
Avoid unused private methods such as 'addRequiresInputs(String, Set<String>)'.: file:///home/runner/work/VIP-portal/VIP-portal/vip-application/src/main/java/fr/insalyon/creatis/vip/application/client/view/launch/LaunchFormLayout.java#L439
Unused Private Method detects when a private method is declared but is unused. UnusedPrivateMethod (Priority: 3, Ruleset: Best Practices) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unusedprivatemethod
Avoid unused private methods such as 'addValueDisables(String, Map<String, Set<String>>)'.: file:///home/runner/work/VIP-portal/VIP-portal/vip-application/src/main/java/fr/insalyon/creatis/vip/application/client/view/launch/LaunchFormLayout.java#L467
Unused Private Method detects when a private method is declared but is unused. UnusedPrivateMethod (Priority: 3, Ruleset: Best Practices) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unusedprivatemethod
Avoid unused private methods such as 'addValueRequires(String, Map<String, Set<String>>)'.: file:///home/runner/work/VIP-portal/VIP-portal/vip-application/src/main/java/fr/insalyon/creatis/vip/application/client/view/launch/LaunchFormLayout.java#L495
Unused Private Method detects when a private method is declared but is unused. UnusedPrivateMethod (Priority: 3, Ruleset: Best Practices) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unusedprivatemethod
Avoid unused local variables such as 'status'.: file:///home/runner/work/VIP-portal/VIP-portal/vip-application/src/main/java/fr/insalyon/creatis/vip/application/client/view/monitor/SimulationsToolStrip.java#L128
Detects when a local variable is declared and/or assigned, but not used. Variables whose name starts with `ignored` or `unused` are filtered out. UnusedLocalVariable (Priority: 3, Ruleset: Best Practices) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unusedlocalvariable
Avoid unused private fields such as 'binItem'.: file:///home/runner/work/VIP-portal/VIP-portal/vip-application/src/main/java/fr/insalyon/creatis/vip/application/client/view/monitor/StatsTab.java#L79
Detects when a private field is declared and/or assigned a value, but not used. Since PMD 6.50.0 private fields are ignored, if the fields are annotated with any annotation or the enclosing class has any annotation. Annotations often enable a framework (such as dependency injection, mocking or e.g. Lombok) which use the fields by reflection or other means. This usage can't be detected by static code analysis. Previously these frameworks where explicitly allowed by listing their annotations in the property "ignoredAnnotations", but that turned out to be prone of false positive for any not explicitly considered framework. UnusedPrivateField (Priority: 3, Ruleset: Best Practices) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unusedprivatefield
Avoid unused local variables such as 'value'.: file:///home/runner/work/VIP-portal/VIP-portal/vip-application/src/main/java/fr/insalyon/creatis/vip/application/client/view/monitor/StatsTab.java#L130
Detects when a local variable is declared and/or assigned, but not used. Variables whose name starts with `ignored` or `unused` are filtered out. UnusedLocalVariable (Priority: 3, Ruleset: Best Practices) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unusedlocalvariable
Avoid unused private methods such as 'getPieChartRunnable(Object[][])'.: file:///home/runner/work/VIP-portal/VIP-portal/vip-application/src/main/java/fr/insalyon/creatis/vip/application/client/view/monitor/StatsTab.java#L359
Unused Private Method detects when a private method is declared but is unused. UnusedPrivateMethod (Priority: 3, Ruleset: Best Practices) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unusedprivatemethod

Artifacts

Produced during runtime
Name Size
PMD Report
61.2 KB