feat(sdk): custom assertions #309
Quality Gate failed
Failed conditions
62.0% Coverage on New Code (required ≥ 80%)
Annotations
Check warning on line 3 in sdk/src/main/java/io/opentdf/platform/sdk/AssertionUtils.java
sonarqubecloud / SonarCloud Code Analysis
Add a private constructor to hide the implicit public one.
See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZpPkx1qyidRHwHYenk3&open=AZpPkx1qyidRHwHYenk3&pullRequest=309
Check warning on line 208 in sdk/src/main/java/io/opentdf/platform/sdk/Config.java
sonarqubecloud / SonarCloud Code Analysis
Make binders a static final constant or non-public and provide accessors if needed.
See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZpPkx1YyidRHwHYenk2&open=AZpPkx1YyidRHwHYenk2&pullRequest=309
Check warning on line 732 in sdk/src/main/java/io/opentdf/platform/sdk/TDF.java
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZpPkx2HyidRHwHYenk4&open=AZpPkx2HyidRHwHYenk4&pullRequest=309
Check warning on line 408 in sdk/src/main/java/io/opentdf/platform/sdk/TDF.java
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 126 to 64, Complexity from 15 to 14, Nesting Level from 3 to 2, Number of Variables from 38 to 6.
See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZpPkx2HyidRHwHYenk5&open=AZpPkx2HyidRHwHYenk5&pullRequest=309