Skip to content

feat(sdk): read deflate-compressed ZIP entries in TDF archives - #424

Open
pflynn-virtru wants to merge 3 commits into
mainfrom
feat/zip-inbound-deflate
Open

pflynn-virtru wants to merge 3 commits into
mainfrom
feat/zip-inbound-deflate

Merge origin/main

b02a412
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 21, 2026 in 31s

Annotations

Check warning on line 1164 in sdk/src/test/java/io/opentdf/platform/sdk/ZipReaderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertThat(actual).hasSizeLessThan(expected) instead.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaFb8NHUZCJTiygsi_w3&open=AaFb8NHUZCJTiygsi_w3&pullRequest=424

Check warning on line 1137 in sdk/src/test/java/io/opentdf/platform/sdk/ZipReaderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertThat(actual).hasSizeLessThan(expected) instead.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaFbCzxPfp06lhAMb8tJ&open=AaFbCzxPfp06lhAMb8tJ&pullRequest=424

Check failure on line 411 in sdk/src/main/java/io/opentdf/platform/sdk/TDF.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaFb8NKQZCJTiygsi_w7&open=AaFb8NKQZCJTiygsi_w7&pullRequest=424

Check warning on line 1181 in sdk/src/test/java/io/opentdf/platform/sdk/ZipReaderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertThat(actual).hasSizeLessThan(expected) instead.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaFb8NHUZCJTiygsi_w4&open=AaFb8NHUZCJTiygsi_w4&pullRequest=424

Check warning on line 1251 in sdk/src/test/java/io/opentdf/platform/sdk/ZipReaderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaFbCzxPfp06lhAMb8tK&open=AaFbCzxPfp06lhAMb8tK&pullRequest=424

Check warning on line 443 in sdk/src/main/java/io/opentdf/platform/sdk/ZipReader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "compressedSize" which hides the field declared at line 380.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaFbCzzHfp06lhAMb8tL&open=AaFbCzzHfp06lhAMb8tL&pullRequest=424

Check warning on line 254 in sdk/src/test/java/io/opentdf/platform/sdk/TDFReaderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertThat(actual).hasSizeLessThan(expected) instead.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaFb8NH7ZCJTiygsi_w6&open=AaFb8NH7ZCJTiygsi_w6&pullRequest=424

Check warning on line 1192 in sdk/src/test/java/io/opentdf/platform/sdk/ZipReaderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertThat(actual).hasSizeGreaterThan(expected) instead.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaFb8NHUZCJTiygsi_w5&open=AaFb8NHUZCJTiygsi_w5&pullRequest=424