Source file "org/elasticsearch/indices/IndicesService.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 2,846 of 2,846 | 0% | 266 of 266 | 0% | 228 | 228 | 570 | 570 | 92 | 92 |
IndicesService(Settings, PluginsService, NodeEnvironment, NamedXContentRegistry, AnalysisRegistry, IndexNameExpressionResolver, MapperRegistry, NamedWriteableRegistry, ThreadPool, IndexScopedSettings, CircuitBreakerService, BigArrays, ScriptService, ClusterService, Client, MetaStateService, Collection, Map, ValuesSourceRegistry, Map, List, Map, CheckedBiConsumer) | ![]() | 0% | ![]() | 0% | 4 | 4 | 55 | 55 | 1 | 1 |
processPendingDeletes(Index, IndexSettings, TimeValue) | ![]() | 0% | ![]() | 0% | 17 | 17 | 52 | 52 | 1 | 1 |
createIndexService(IndexService.IndexCreationContext, IndexMetadata, IndicesQueryCache, IndicesFieldDataCache, List, IndexingOperationListener[]) | ![]() | 0% | ![]() | 0% | 5 | 5 | 18 | 18 | 1 | 1 |
createIndex(IndexMetadata, List, boolean) | ![]() | 0% | ![]() | 0% | 8 | 8 | 25 | 25 | 1 | 1 |
removeIndex(Index, IndicesClusterStateService.AllocatedIndices.IndexRemovalReason, String) | ![]() | 0% | ![]() | 0% | 6 | 6 | 23 | 23 | 1 | 1 |
buildAliasFilter(ClusterState, String, Set) | ![]() | 0% | ![]() | 0% | 6 | 6 | 22 | 22 | 1 | 1 |
deleteShardStore(String, ShardId, ClusterState) | ![]() | 0% | ![]() | 0% | 4 | 4 | 15 | 15 | 1 | 1 |
loadIntoContext(ShardSearchRequest, SearchContext, QueryPhase) | ![]() | 0% | ![]() | 0% | 6 | 6 | 20 | 20 | 1 | 1 |
stats(CommonStatsFlags) | ![]() | 0% | ![]() | 0% | 9 | 9 | 17 | 17 | 1 | 1 |
getEngineFactory(IndexSettings) | ![]() | 0% | ![]() | 0% | 7 | 7 | 19 | 19 | 1 | 1 |
doStop() | ![]() | 0% | ![]() | 0% | 3 | 3 | 15 | 15 | 1 | 1 |
updateDanglingIndicesInfo(Index) | ![]() | 0% | ![]() | 0% | 10 | 10 | 13 | 13 | 1 | 1 |
statsByShard(IndicesService, CommonStatsFlags) | ![]() | 0% | ![]() | 0% | 5 | 5 | 15 | 15 | 1 | 1 |
verifyIndexIsDeleted(Index, ClusterState) | ![]() | 0% | ![]() | 0% | 5 | 5 | 17 | 17 | 1 | 1 |
canDeleteShardContent(ShardId, IndexSettings) | ![]() | 0% | ![]() | 0% | 10 | 10 | 14 | 14 | 1 | 1 |
canCache(ShardSearchRequest, SearchContext) | ![]() | 0% | ![]() | 0% | 12 | 12 | 18 | 18 | 1 | 1 |
verifyIndexMetadata(IndexMetadata, IndexMetadata) | ![]() | 0% | ![]() | 0% | 2 | 2 | 13 | 13 | 1 | 1 |
deleteIndexStore(String, IndexMetadata) | ![]() | 0% | ![]() | 0% | 3 | 3 | 11 | 11 | 1 | 1 |
deleteUnassignedIndex(String, IndexMetadata, ClusterState) | ![]() | 0% | ![]() | 0% | 3 | 3 | 12 | 12 | 1 | 1 |
indexShardStats(IndicesService, IndexShard, CommonStatsFlags) | ![]() | 0% | ![]() | 0% | 2 | 2 | 15 | 15 | 1 | 1 |
deleteIndexStoreIfDeletionAllowed(String, Index, IndexSettings, IndicesService.IndexDeletionAllowedPredicate) | ![]() | 0% | ![]() | 0% | 3 | 3 | 13 | 13 | 1 | 1 |
createShard(ShardRouting, PeerRecoveryTargetService, PeerRecoveryTargetService.RecoveryListener, RepositoriesService, Consumer, Consumer, RetentionLeaseSyncer, DiscoveryNode, DiscoveryNode) | ![]() | 0% | ![]() | 0% | 3 | 3 | 9 | 9 | 1 | 1 |
static {...} | ![]() | 0% | ![]() | 0% | 2 | 2 | 7 | 7 | 1 | 1 |
withTempIndexService(IndexMetadata, CheckedFunction) | ![]() | 0% | ![]() | 0% | 2 | 2 | 8 | 8 | 1 | 1 |
indexServiceSafe(Index) | ![]() | 0% | ![]() | 0% | 4 | 4 | 6 | 6 | 1 | 1 |
createIndexMapperService(IndexMetadata) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
addPendingDelete(Index, IndicesService.PendingDelete) | ![]() | 0% | ![]() | 0% | 2 | 2 | 9 | 9 | 1 | 1 |
clearIndexShardCache(ShardId, boolean, boolean, boolean, String[]) | ![]() | 0% | ![]() | 0% | 6 | 6 | 7 | 7 | 1 | 1 |
lambda$createShard$12(RecoveryState, ShardRouting, String, MappingMetadata) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
addPendingDelete(ShardId, IndexSettings) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
lambda$getEngineFactory$9(Optional) | ![]() | 0% | ![]() | 0% | 3 | 3 | 2 | 2 | 1 | 1 |
numPendingDeletes(Index) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
getCoordinatorRewriteContextProvider(LongSupplier) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$removeIndex$13(Index, IndicesClusterStateService.AllocatedIndices.IndexRemovalReason, String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
deleteShardStore(String, ShardLock, IndexSettings) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
cacheShardLevelResult(IndexShard, MappingLookup.CacheKey, DirectoryReader, BytesReference, CheckedConsumer) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$buildAliasFilter$29(BytesReference) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
doStart() | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
allPendingDanglingIndicesWritten() | ![]() | 0% | ![]() | 0% | 4 | 4 | 2 | 2 | 1 | 1 |
lambda$cacheShardLevelResult$26(CheckedConsumer) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
canDeleteIndexContents(Index, IndexSettings) | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
lambda$buildAliasFilter$31(CheckedFunction, DataStreamAlias) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$loadIntoContext$25(QueryPhase, SearchContext, boolean[], StreamOutput) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
addPendingDelete(Index, IndexSettings) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
getRewriteContext(LongSupplier) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
ensureChangesAllowed() | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
deleteIndexStore(String, Index, IndexSettings) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
hasUncompletedPendingDeletes() | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
lambda$deleteUnassignedIndex$14(IndexMetadata, String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$doStop$2(Index, CountDownLatch) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
indexService(Index) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
buildIndexSettings(IndexMetadata) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$processPendingDeletes$24(ShardLock) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$processPendingDeletes$22(Index, IndexSettings, Path[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$verifyIndexIsDeleted$21(IndexMetadata) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$deleteShardStore$19(ShardId, IndexSettings, Path[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$deleteShardStore$18(ShardId, IndexSettings, Path[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$deleteIndexStoreIfDeletionAllowed$15(Index, IndexSettings, Path[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$statsByShard$3(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
awaitClose(long, TimeUnit) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
hasIndex(Index) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getMetadataFields(Version) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$buildAliasFilter$30(Metadata, String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$processPendingDeletes$23(Index) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$verifyIndexIsDeleted$20(Index) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$deleteIndexStoreIfDeletionAllowed$17(Index) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$deleteIndexStoreIfDeletionAllowed$16(Index) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
doClose() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
iterator() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getAllMetadataFields() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
setAllowExpensiveQueries(Boolean) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
getTimestampFieldType(Index) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$new$27(Index, IndexSettings) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$verifyIndexMetadata$11(IndexService) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$getEngineFactory$8(Optional) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$getEngineFactory$7(IndexSettings, Function) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$withTempIndexService$5(IndexService) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getTotalIndexingBufferBytes() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getFieldFilter() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
setIdFieldDataEnabled(boolean) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$createIndex$4(Index, IndexMetadata) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$new$0() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
clusterService() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getIndicesFieldDataCache() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getCircuitBreakerService() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getIndicesQueryCache() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getAnalysis() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isIdFieldDataEnabled() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$createIndexMapperService$10() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$createIndexService$6() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$doStop$1(IndexService) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$new$28(Index, IndexSettings) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |