Source file "org/elasticsearch/cluster/metadata/MetadataCreateIndexService.java" was not found during generation of report.
| Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
| Total | 3,167 of 3,167 | 0% | 340 of 340 | 0% | 230 | 230 | 584 | 584 | 60 | 60 |
| aggregateIndexSettings(ClusterState, CreateIndexClusterStateUpdateRequest, Settings, IndexMetadata, Settings, IndexScopedSettings, ShardLimitValidator, Set) | 0% | 0% | 20 | 20 | 60 | 60 | 1 | 1 | ||
| parseV1Mappings(Map, List, NamedXContentRegistry) | 0% | 0% | 22 | 22 | 38 | 38 | 1 | 1 | ||
| resolveAndValidateAliases(String, Set, List, Metadata, AliasValidator, NamedXContentRegistry, SearchExecutionContext, Function) | 0% | 0% | 9 | 9 | 34 | 34 | 1 | 1 | ||
| prepareResizeIndexSettings(ClusterState, Settings.Builder, Index, String, ResizeType, boolean, IndexScopedSettings) | 0% | 0% | 11 | 11 | 34 | 34 | 1 | 1 | ||
| validateShrinkIndex(ClusterState, String, String, Settings) | 0% | 0% | 11 | 11 | 23 | 23 | 1 | 1 | ||
| applyCreateIndexRequest(ClusterState, CreateIndexClusterStateUpdateRequest, boolean, BiConsumer) | 0% | 0% | 9 | 9 | 22 | 22 | 1 | 1 | ||
| validateIndexOrAliasName(String, BiFunction) | 0% | 0% | 10 | 10 | 18 | 18 | 1 | 1 | ||
| validateResize(ClusterState, String, String, Settings) | 0% | 0% | 9 | 9 | 17 | 17 | 1 | 1 | ||
| applyCreateIndexRequestWithV2Template(ClusterState, CreateIndexClusterStateUpdateRequest, boolean, String, BiConsumer) | 0% | 0% | 4 | 4 | 14 | 14 | 1 | 1 | ||
| lambda$applyCreateIndexWithTemporaryService$3(CreateIndexClusterStateUpdateRequest, List, IndexMetadata, boolean, Function, IndexMetadata, List, ClusterState, BiConsumer, IndexService) | 0% | 0% | 3 | 3 | 19 | 19 | 1 | 1 | ||
| buildIndexMetadata(String, List, Supplier, Supplier, Settings, int, IndexMetadata, boolean) | 0% | 0% | 5 | 5 | 15 | 15 | 1 | 1 | ||
| applyCreateIndexRequestForSystemDataStream(ClusterState, CreateIndexClusterStateUpdateRequest, boolean, BiConsumer) | 0% | 0% | 3 | 3 | 14 | 14 | 1 | 1 | ||
| applyCreateIndexRequestWithV1Templates(ClusterState, CreateIndexClusterStateUpdateRequest, boolean, List, BiConsumer) | 0% | n/a | 1 | 1 | 12 | 12 | 1 | 1 | ||
| collectV2Mappings(Map, List, NamedXContentRegistry) | 0% | 0% | 5 | 5 | 12 | 12 | 1 | 1 | ||
| clusterStateCreateIndex(ClusterState, Set, IndexMetadata, BiFunction, BiConsumer) | 0% | 0% | 2 | 2 | 13 | 13 | 1 | 1 | ||
| validateCloneIndex(ClusterState, String, String, Settings) | 0% | 0% | 4 | 4 | 9 | 9 | 1 | 1 | ||
| validatePrivateSettingsNotExplicitlySet(Settings, IndexScopedSettings) | 0% | 0% | 6 | 6 | 9 | 9 | 1 | 1 | ||
| updateIndexMappingsAndBuildSortOrder(IndexService, CreateIndexClusterStateUpdateRequest, List, IndexMetadata) | 0% | 0% | 7 | 7 | 12 | 12 | 1 | 1 | ||
| validateIndexName(String, ClusterState) | 0% | 0% | 5 | 5 | 10 | 10 | 1 | 1 | ||
| applyCreateIndexRequestWithExistingMetadata(ClusterState, CreateIndexClusterStateUpdateRequest, boolean, IndexMetadata, BiConsumer) | 0% | 0% | 2 | 2 | 8 | 8 | 1 | 1 | ||
| buildAndValidateTemporaryIndexMetadata(Settings, CreateIndexClusterStateUpdateRequest, int) | 0% | n/a | 1 | 1 | 12 | 12 | 1 | 1 | ||
| getIndexNumberOfRoutingShards(Settings, IndexMetadata) | 0% | 0% | 6 | 6 | 9 | 9 | 1 | 1 | ||
| validateIndexCustomPath(Settings, Path) | 0% | 0% | 4 | 4 | 9 | 9 | 1 | 1 | ||
| MetadataCreateIndexService(Settings, ClusterService, IndicesService, AllocationService, AliasValidator, ShardLimitValidator, Environment, IndexScopedSettings, ThreadPool, NamedXContentRegistry, SystemIndices, boolean) | 0% | n/a | 1 | 1 | 15 | 15 | 1 | 1 | ||
| validateSplitIndex(ClusterState, String, String, Settings) | 0% | 0% | 3 | 3 | 7 | 7 | 1 | 1 | ||
| validateDotIndex(String, Boolean) | 0% | 0% | 4 | 4 | 9 | 9 | 1 | 1 | ||
| createIndexMetadataBuilder(String, IndexMetadata, Settings, int) | 0% | 0% | 3 | 3 | 12 | 12 | 1 | 1 | ||
| lambda$applyCreateIndexRequestWithV2Template$8(CreateIndexClusterStateUpdateRequest, boolean, ClusterState, String, IndexService) | 0% | 0% | 3 | 3 | 9 | 9 | 1 | 1 | ||
| lambda$createIndex$1(CreateIndexClusterStateUpdateRequest, ActionListener, AcknowledgedResponse) | 0% | 0% | 2 | 2 | 6 | 6 | 1 | 1 | ||
| validateActiveShardCount(ActiveShardCount, IndexMetadata) | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| onlyCreateIndex(CreateIndexClusterStateUpdateRequest, ActionListener) | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | ||
| calculateNumRoutingShards(int, Version) | 0% | 0% | 2 | 2 | 7 | 7 | 1 | 1 | ||
| getNumberOfShards(Settings.Builder) | 0% | 0% | 4 | 4 | 7 | 7 | 1 | 1 | ||
| lambda$applyCreateIndexRequestWithV1Templates$4(ImmutableOpenMap) | 0% | 0% | 2 | 2 | 5 | 5 | 1 | 1 | ||
| lambda$applyCreateIndexRequestForSystemDataStream$10(CreateIndexClusterStateUpdateRequest, ComposableIndexTemplate, Map, ClusterState, IndexService) | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | ||
| createClusterBlocksBuilder(ClusterState, String, Set) | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| lambda$applyCreateIndexRequestWithV1Templates$6(CreateIndexClusterStateUpdateRequest, List, ClusterState, IndexService) | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | ||
| lambda$prepareResizeIndexSettings$14(Settings.Builder, String) | 0% | 0% | 6 | 6 | 3 | 3 | 1 | 1 | ||
| lambda$applyCreateIndexRequestWithExistingMetadata$12(CreateIndexClusterStateUpdateRequest, ClusterState, IndexService) | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | ||
| addAdditionalIndexSettingProvider(IndexSettingProvider) | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| validateIndexSettings(String, Settings, boolean) | 0% | 0% | 2 | 2 | 6 | 6 | 1 | 1 | ||
| validateTranslogRetentionSettings(Settings) | 0% | 0% | 4 | 4 | 5 | 5 | 1 | 1 | ||
| normalizeRequestSetting(CreateIndexClusterStateUpdateRequest) | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | ||
| createIndex(CreateIndexClusterStateUpdateRequest, ActionListener) | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | ||
| validateStoreTypeSetting(Settings) | 0% | 0% | 2 | 2 | 4 | 4 | 1 | 1 | ||
| applyCreateIndexWithTemporaryService(ClusterState, CreateIndexClusterStateUpdateRequest, boolean, IndexMetadata, IndexMetadata, List, Function, List, BiConsumer) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| getIndexSettingsValidationErrors(Settings, boolean) | 0% | 0% | 2 | 2 | 4 | 4 | 1 | 1 | ||
| lambda$createIndex$0(CreateIndexClusterStateUpdateRequest, ActionListener, Boolean) | 0% | 0% | 2 | 2 | 5 | 5 | 1 | 1 | ||
| validate(CreateIndexClusterStateUpdateRequest, ClusterState) | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | ||
| static {...} | 0% | 0% | 2 | 2 | 3 | 3 | 1 | 1 | ||
| collectSystemV2Mappings(ComposableIndexTemplate, Map, NamedXContentRegistry, String) | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | ||
| collectV2Mappings(Map, ClusterState, String, NamedXContentRegistry, String) | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | ||
| applyCreateIndexRequest(ClusterState, CreateIndexClusterStateUpdateRequest, boolean) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$validateShrinkIndex$13(String) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$applyCreateIndexWithTemporaryService$2(IndexService) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| getSystemIndices() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$applyCreateIndexRequestWithExistingMetadata$11() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$applyCreateIndexRequestForSystemDataStream$9() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$applyCreateIndexRequestWithV2Template$7() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$applyCreateIndexRequestWithV1Templates$5() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |