Skip to content

refactor service for improving multithreading efficiency

Codecov / codecov/patch succeeded Feb 5, 2024 in 1s

74.46% of diff hit (target 71.26%)

View this Pull Request on Codecov

74.46% of diff hit (target 71.26%)

Annotations

Check warning on line 79 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

Added line #L79 was not covered by tests

Check warning on line 84 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#L83-L84

Added lines #L83 - L84 were not covered by tests

Check warning on line 64 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java#L63-L64

Added lines #L63 - L64 were not covered by tests

Check warning on line 70 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java#L69-L70

Added lines #L69 - L70 were not covered by tests

Check warning on line 111 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java#L111

Added line #L111 was not covered by tests

Check warning on line 114 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java#L114

Added line #L114 was not covered by tests

Check warning on line 117 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java#L117

Added line #L117 was not covered by tests

Check warning on line 120 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java#L120

Added line #L120 was not covered by tests

Check warning on line 142 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/core/listener/QueryInsightsListener.java#L141-L142

Added lines #L141 - L142 were not covered by tests

Check warning on line 138 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#L138

Added line #L138 was not covered by tests

Check warning on line 141 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#L140-L141

Added lines #L140 - L141 were not covered by tests

Check warning on line 147 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#L147

Added line #L147 was not covered by tests

Check warning on line 153 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#L153

Added line #L153 was not covered by tests

Check warning on line 158 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#L158

Added line #L158 was not covered by tests

Check warning on line 160 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#L160

Added line #L160 was 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 106 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#L106

Added line #L106 was not covered by tests

Check warning on line 161 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#L161

Added line #L161 was not covered by tests

Check warning on line 203 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#L203

Added line #L203 was not covered by tests

Check warning on line 207 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#L207

Added line #L207 was not covered by tests

Check warning on line 247 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#L247

Added line #L247 was not covered by tests

Check warning on line 57 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/action/top_queries/TopQueries.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/action/top_queries/TopQueries.java#L56-L57

Added lines #L56 - L57 were not covered by tests

Check warning on line 59 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/action/top_queries/TopQueries.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/action/top_queries/TopQueries.java#L59

Added line #L59 was not covered by tests

Check warning on line 101 in plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/action/top_queries/TopQueriesResponse.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/query-insights/src/main/java/org/opensearch/plugin/insights/rules/action/top_queries/TopQueriesResponse.java#L98-L101

Added lines #L98 - L101 were 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