Source file "org/elasticsearch/index/shard/IndexShardTestCase.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 1,463 of 1,463 | 0% | 64 of 64 | 0% | 106 | 106 | 302 | 302 | 74 | 74 |
recoverUnstartedReplica(IndexShard, IndexShard, BiFunction, boolean, Set, IndexShardRoutingTable) | ![]() | 0% | ![]() | 0% | 3 | 3 | 26 | 26 | 1 | 1 |
newShard(ShardRouting, ShardPath, IndexMetadata, CheckedFunction, CheckedFunction, EngineFactory, Runnable, RetentionLeaseSyncer, IndexEventListener, IndexingOperationListener[]) | ![]() | 0% | ![]() | 0% | 5 | 5 | 25 | 25 | 1 | 1 |
indexDoc(IndexShard, String, String, String, XContentType, String) | ![]() | 0% | ![]() | 0% | 4 | 4 | 19 | 19 | 1 | 1 |
snapshotShard(IndexShard, Snapshot, Repository) | ![]() | 0% | n/a | 1 | 1 | 15 | 15 | 1 | 1 | |
newShard(ShardRouting, Settings, EngineFactory, IndexingOperationListener[]) | ![]() | 0% | ![]() | 0% | 4 | 4 | 14 | 14 | 1 | 1 |
startReplicaAfterRecovery(IndexShard, IndexShard, Set, IndexShardRoutingTable) | ![]() | 0% | ![]() | 0% | 2 | 2 | 15 | 15 | 1 | 1 |
recoverShardFromSnapshot(IndexShard, Snapshot, Repository) | ![]() | 0% | n/a | 1 | 1 | 15 | 15 | 1 | 1 | |
promoteReplica(IndexShard, Set, IndexShardRoutingTable) | ![]() | 0% | n/a | 1 | 1 | 12 | 12 | 1 | 1 | |
recoverReplica(IndexShard, IndexShard, BiFunction, boolean, boolean) | ![]() | 0% | ![]() | 0% | 3 | 3 | 10 | 10 | 1 | 1 |
deleteDoc(IndexShard, String, String) | ![]() | 0% | ![]() | 0% | 2 | 2 | 10 | 10 | 1 | 1 |
newShard(ShardRouting, IndexMetadata, CheckedFunction, EngineFactory, Runnable, RetentionLeaseSyncer, IndexingOperationListener[]) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
updateRoutingEntry(IndexShard, ShardRouting) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
newShard(boolean, Settings, EngineFactory) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
newStartedShard(CheckedFunction, boolean) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
static {...} | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
closeShard(IndexShard, boolean) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
newShard(ShardId, boolean, String, IndexMetadata, CheckedFunction, Runnable) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
reinitShard(IndexShard, ShardRouting, IndexMetadata, EngineFactory, IndexingOperationListener[]) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
recoverShardFromStore(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
newShard(ShardId, boolean, IndexingOperationListener[]) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
recoveryEmptyReplica(IndexShard, boolean) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
updateMappings(IndexShard, IndexMetadata) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
assertConsistentHistoryBetweenTranslogAndLucene(IndexShard) | ![]() | 0% | ![]() | 0% | 4 | 4 | 6 | 6 | 1 | 1 |
closeShards(Iterable) | ![]() | 0% | ![]() | 0% | 3 | 3 | 5 | 5 | 1 | 1 |
flushShard(IndexShard, boolean) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
reinitShard(IndexShard, IndexingOperationListener[]) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
setUp() | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
assertDocs(IndexShard, String[]) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
lambda$createTestWarmer$10(IndexSettings, ElasticsearchDirectoryReader) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
lambda$promoteReplica$9(IndexShard, ActionListener) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$static$0(IndexShard.ShardFailure) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
setUpThreadPool() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
createStore(ShardId, IndexSettings, Directory) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
reinitShard(IndexShard, ShardRouting, IndexingOperationListener[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
newShard(ShardRouting, IndexMetadata, CheckedFunction, EngineFactory, IndexingOperationListener[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getFakeDiscoNode(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
recoverFromStore(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
createStore(IndexSettings, ShardPath) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
newShard(ShardRouting, Settings, IndexingOperationListener[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
newShard(ShardId, boolean, String, IndexMetadata, CheckedFunction) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getShardDocUIDs(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
indexDoc(IndexShard, String, String, String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
newShard(boolean, Settings) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
newStartedShard(Settings) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
newStartedShard(boolean) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
newStartedShard(boolean, Settings) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
newStartedShard(boolean, Settings, EngineFactory) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
recoverReplica(IndexShard, IndexShard, boolean) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$recoverReplica$8(IndexShard, DiscoveryNode) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
tearDownThreadPool() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
indexDoc(IndexShard, String, String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$newStartedShard$6(Settings, EngineFactory, Boolean) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
newShard(ShardRouting, IndexingOperationListener[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
assertDocCount(IndexShard, int) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
tearDown() | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
newShard(boolean) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
closeShards(IndexShard[]) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
getDocIdAndSeqNos(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
flushShard(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$closeShard$7(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$newShard$4(ShardPath, IndexSettings) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
allowShardFailures() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
failOnShardFailures() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
newStartedShard() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getTranslog(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
IndexShardTestCase() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getEngine(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getReplicationTracker(IndexShard) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
createTestWarmer(IndexSettings) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
threadPoolSettings() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$newShard$5() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$newShard$3() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
lambda$newShard$2() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
lambda$newShard$1() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |