Skip to content

proof of concept to avoid EMF pooling #2126

proof of concept to avoid EMF pooling

proof of concept to avoid EMF pooling #2126

Triggered via pull request November 27, 2024 10:53
Status Failure
Total duration 1m 38s
Artifacts 1

verify.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
pmd
Process completed with exit code 1.
maven-verify
Process completed with exit code 1.
String.indexOf(char) is faster than String.indexOf(String).: com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/resource/persistence/DirectLinkingURI.java#L275
Use String.indexOf(char) when checking for the index of a single character; it executes faster. UseIndexOfChar (Priority: 3, Ruleset: Performance) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_performance.html#useindexofchar
This if statement can be replaced by `return {condition} && {thenBranch};`: com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/resource/persistence/DirectLinkingURI.java#L312
Avoid unnecessary if-then-else statements when returning a boolean. The result of the conditional test can be returned instead. SimplifyBooleanReturns (Priority: 3, Ruleset: Design) https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_design.html#simplifybooleanreturns
maven-verify
No files were found with the provided path: /com.avaloq.tools.ddk.xtext.test/target/work/data/.metadata/.log. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
PMD Report
910 Bytes