Skip to content

Simplify binary search in LuceneDocumentsReader #157

Simplify binary search in LuceneDocumentsReader

Simplify binary search in LuceneDocumentsReader #157

Triggered via push February 4, 2025 19:05
Status Success
Total duration 4m 23s
Artifacts 1

sonar-qube.yml

on: push
Run SonarQube Analysis
4m 10s
Run SonarQube Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
java:S1611: RFS/src/main/java/org/opensearch/migrations/bulkload/common/LuceneDocumentsReader.java#L128
Remove the parentheses around the "leafReader" parameter
java:S112: RFS/src/main/java/org/opensearch/migrations/bulkload/common/OpenSearchClientFactory.java#L49
Define and throw a dedicated exception instead of using a generic one.
java:S112: RFS/src/main/java/org/opensearch/migrations/bulkload/common/OpenSearchClientFactory.java#L62
Define and throw a dedicated exception instead of using a generic one.
java:S3038: RFS/src/main/java/org/opensearch/migrations/bulkload/models/IndexMetadata.java#L33
"getName" is defined in the "Index" interface and can be removed from this class.
java:S135: RFS/src/main/java/org/opensearch/migrations/bulkload/workcoordination/OpenSearchWorkCoordinator.java#L1021
Reduce the total number of break and continue statements in this loop to use at most one.

Artifacts

Produced during runtime
Name Size Digest
sonar-reports Expired
8.11 KB
sha256:3147dda2e2e4236549e9bbb384428d231e738420c2a6e53beadb33f4060a82fe