Skip to content

add empty or null check

Codecov / codecov/patch succeeded Jan 23, 2025 in 0s

82.64% of diff hit (target 72.24%)

View this Pull Request on Codecov

82.64% of diff hit (target 72.24%)

Annotations

Check warning on line 110 in server/src/main/java/org/opensearch/index/query/BaseQueryRewriteContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/BaseQueryRewriteContext.java#L109-L110

Added lines #L109 - L110 were not covered by tests

Check warning on line 791 in server/src/main/java/org/opensearch/index/query/QueryBuilders.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/QueryBuilders.java#L791

Added line #L791 was not covered by tests

Check warning on line 43 in server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java#L43

Added line #L43 was not covered by tests

Check warning on line 48 in server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java#L48

Added line #L48 was not covered by tests

Check warning on line 53 in server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java#L53

Added line #L53 was not covered by tests

Check warning on line 78 in server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java#L78

Added line #L78 was not covered by tests

Check warning on line 83 in server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java#L83

Added line #L83 was not covered by tests

Check warning on line 89 in server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java#L89

Added line #L89 was not covered by tests

Check warning on line 91 in server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/QueryCoordinatorContext.java#L91

Added line #L91 was not covered by tests

Check warning on line 66 in server/src/main/java/org/opensearch/index/query/QueryRewriteContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/QueryRewriteContext.java#L66

Added line #L66 was not covered by tests

Check warning on line 121 in server/src/main/java/org/opensearch/index/query/TemplateQueryBuilder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/TemplateQueryBuilder.java#L121

Added line #L121 was not covered by tests

Check warning on line 142 in server/src/main/java/org/opensearch/index/query/TemplateQueryBuilder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/TemplateQueryBuilder.java#L141-L142

Added lines #L141 - L142 were not covered by tests

Check warning on line 62 in server/src/main/java/org/opensearch/search/pipeline/PipelineProcessingContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/pipeline/PipelineProcessingContext.java#L62

Added line #L62 was not covered by tests

Check warning on line 66 in server/src/main/java/org/opensearch/search/pipeline/PipelinedRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/pipeline/PipelinedRequest.java#L66

Added line #L66 was not covered by tests