Skip to content

refactor service for improving multithreading efficiency

Codecov / codecov/patch failed Feb 6, 2024 in 0s

70.31% of diff hit (target 71.26%)

View this Pull Request on Codecov

70.31% of diff hit (target 71.26%)

Annotations

Check warning on line 25 in libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java#L25

Added line #L25 was not covered by tests

Check warning on line 32 in libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java#L32

Added line #L32 was not covered by tests

Check warning on line 37 in libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java#L37

Added line #L37 was not covered by tests

Check warning on line 44 in libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopMetricsRegistry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopMetricsRegistry.java#L44

Added line #L44 was not covered by tests

Check warning on line 75 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/QueryInsightsPlugin.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/QueryInsightsPlugin.java#L75

Added line #L75 was not covered by tests

Check warning on line 80 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/QueryInsightsPlugin.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/QueryInsightsPlugin.java#L79-L80

Added lines #L79 - L80 were not covered by tests

Check warning on line 85 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java#L85

Added line #L85 was not covered by tests

Check warning on line 94 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java#L94

Added line #L94 was not covered by tests

Check warning on line 98 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java#L98

Added line #L98 was not covered by tests

Check warning on line 143 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java#L143

Added line #L143 was not covered by tests

Check warning on line 154 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java#L154

Added line #L154 was not covered by tests

Check warning on line 157 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java#L156-L157

Added lines #L156 - L157 were not covered by tests

Check warning on line 163 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java#L163

Added line #L163 was not covered by tests

Check warning on line 169 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java#L169

Added line #L169 was not covered by tests

Check warning on line 174 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java#L174

Added line #L174 was not covered by tests

Check warning on line 176 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java#L176

Added line #L176 was not covered by tests

Check warning on line 179 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/QueryInsightsService.java#L179

Added line #L179 was not covered by tests

Check warning on line 115 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/TopQueriesService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/TopQueriesService.java#L115

Added line #L115 was not covered by tests

Check warning on line 170 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/TopQueriesService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/TopQueriesService.java#L170

Added line #L170 was not covered by tests

Check warning on line 211 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/TopQueriesService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/TopQueriesService.java#L211

Added line #L211 was not covered by tests

Check warning on line 251 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/TopQueriesService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/service/TopQueriesService.java#L251

Added line #L251 was not covered by tests

Check warning on line 101 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/model/MetricType.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/model/MetricType.java#L101

Added line #L101 was not covered by tests

Check warning on line 118 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/model/MetricType.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/model/MetricType.java#L118

Added line #L118 was not covered by tests

Check warning on line 58 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/model/SearchQueryRecord.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/model/SearchQueryRecord.java#L58

Added line #L58 was not covered by tests

Check warning on line 110 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/model/SearchQueryRecord.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/model/SearchQueryRecord.java#L109-L110

Added lines #L109 - L110 were not covered by tests