Source file "org/elasticsearch/index/IndexService.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 1,751 of 1,751 | 0% | 149 of 149 | 0% | 151 | 151 | 347 | 347 | 75 | 75 |
createShard(ShardRouting, Consumer, RetentionLeaseSyncer) | ![]() | 0% | ![]() | 0% | 9 | 9 | 55 | 55 | 1 | 1 |
IndexService(IndexSettings, IndexService.IndexCreationContext, NodeEnvironment, NamedXContentRegistry, SimilarityService, IndexService.ShardStoreDeleter, IndexAnalyzers, EngineFactory, CircuitBreakerService, BigArrays, ThreadPool, ScriptService, ClusterService, Client, QueryCache, IndexStorePlugin.DirectoryFactory, IndexEventListener, Function, MapperRegistry, IndicesFieldDataCache, List, List, NamedWriteableRegistry, BooleanSupplier, BooleanSupplier, IndexNameExpressionResolver, ValuesSourceRegistry, IndexStorePlugin.RecoveryStateFactory, IndexStorePlugin.IndexFoldersDeletionListener, IndexStorePlugin.SnapshotCommitSupplier) | ![]() | 0% | ![]() | 0% | 7 | 7 | 54 | 54 | 1 | 1 |
updateMetadata(IndexMetadata, IndexMetadata) | ![]() | 0% | ![]() | 0% | 14 | 14 | 22 | 22 | 1 | 1 |
close(String, boolean) | ![]() | 0% | ![]() | 0% | 3 | 3 | 11 | 11 | 1 | 1 |
sync(Consumer, String) | ![]() | 0% | ![]() | 0% | 8 | 8 | 12 | 12 | 1 | 1 |
clearCaches(boolean, boolean, String[]) | ![]() | 0% | ![]() | 0% | 8 | 8 | 17 | 17 | 1 | 1 |
closeShard(String, ShardId, IndexShard, Store, IndexEventListener) | ![]() | 0% | ![]() | 0% | 6 | 6 | 19 | 19 | 1 | 1 |
removeShard(int, String) | ![]() | 0% | ![]() | 0% | 2 | 2 | 10 | 10 | 1 | 1 |
static {...} | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
newSearchExecutionContext(int, int, IndexSearcher, LongSupplier, String, Map) | ![]() | 0% | n/a | 1 | 1 | 8 | 8 | 1 | 1 | |
onShardClose(ShardLock) | ![]() | 0% | ![]() | 0% | 2 | 2 | 9 | 9 | 1 | 1 |
maybeTrimTranslog() | ![]() | 0% | ![]() | 0% | 4 | 4 | 9 | 9 | 1 | 1 |
getAvgShardSizeInBytes() | ![]() | 0% | ![]() | 0% | 3 | 3 | 9 | 9 | 1 | 1 |
maybeFSyncTranslogs() | ![]() | 0% | ![]() | 0% | 4 | 4 | 10 | 10 | 1 | 1 |
updateFsyncTaskIfNecessary() | ![]() | 0% | ![]() | 0% | 4 | 4 | 9 | 9 | 1 | 1 |
maybeRefreshEngine(boolean) | ![]() | 0% | ![]() | 0% | 4 | 4 | 7 | 7 | 1 | 1 |
writeDanglingIndicesInfo() | ![]() | 0% | ![]() | 0% | 2 | 2 | 7 | 7 | 1 | 1 |
lambda$sync$20(IndexShard, String, Exception) | ![]() | 0% | ![]() | 0% | 4 | 4 | 4 | 4 | 1 | 1 |
deleteDanglingIndicesInfo() | ![]() | 0% | ![]() | 0% | 2 | 2 | 7 | 7 | 1 | 1 |
getShard(int) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
needsMapperService(IndexSettings, IndexService.IndexCreationContext) | ![]() | 0% | ![]() | 0% | 4 | 4 | 1 | 1 | 1 | 1 |
lambda$createShard$8(ShardId, ElasticsearchDirectoryReader) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
lambda$new$2(IndexSettings) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
rescheduleRefreshTasks() | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$new$1(MappedFieldType, Supplier) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
updateMapping(IndexMetadata, IndexMetadata) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
lambda$updateMetadata$14(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$onShardClose$13(ShardLock) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$new$0() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$closeShard$12(int, String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$createShard$7(ShardId, Path[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getShardOrNull(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
createRecoveryState(ShardRouting, DiscoveryNode, DiscoveryNode) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$closeShard$11(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$deleteDanglingIndicesInfo$6() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$writeDanglingIndicesInfo$5() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
hasShard(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
addMetadataListener(Consumer) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$dateMathExpressionResolverAt$17(long, String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$dateMathExpressionResolverAt$16(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
iterator() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
maybeSyncGlobalCheckpoints() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
syncRetentionLeases() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$createShard$9(ShardId) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
numberOfShards() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
shardIds() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getIndexAnalyzers() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
indexUUID() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getMetadata() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
dateMathExpressionResolverAt(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$sync$19(Consumer, IndexShard) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$maybeSyncGlobalCheckpoints$18(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$updateMetadata$15(IndexMetadata, Consumer) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$createShard$10(Consumer, ShardId) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getIndexEventListener() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
cache() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
mapperService() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
xContentRegistry() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
similarityService() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getIndexSortSupplier() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getIndexSettings() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getThreadPool() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getBigArrays() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getScriptService() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getIndexOperationListeners() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getSearchOperationListener() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
dateMathExpressionResolverAt() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getEngineFactory() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getReaderWrapper() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getDirectoryFactory() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getRefreshTask() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getFsyncTask() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getTrimTranslogTask() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$new$4() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
lambda$new$3() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |