Source file "org/elasticsearch/cluster/routing/RoutingNodes.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 2,678 of 2,678 | 0% | 432 of 432 | 0% | 277 | 277 | 456 | 456 | 61 | 61 |
assertShardStats(RoutingNodes) | ![]() | 0% | ![]() | 0% | 46 | 46 | 76 | 76 | 1 | 1 |
failShard(Logger, ShardRouting, UnassignedInfo, IndexMetadata, RoutingChangesObserver) | ![]() | 0% | ![]() | 0% | 29 | 29 | 54 | 54 | 1 | 1 |
RoutingNodes(ClusterState, boolean) | ![]() | 0% | ![]() | 0% | 14 | 14 | 50 | 50 | 1 | 1 |
startShard(Logger, ShardRouting, RoutingChangesObserver) | ![]() | 0% | ![]() | 0% | 11 | 11 | 28 | 28 | 1 | 1 |
updateAssigned(ShardRouting, ShardRouting) | ![]() | 0% | ![]() | 0% | 10 | 10 | 9 | 9 | 1 | 1 |
updateRecoveryCounts(ShardRouting, boolean, ShardRouting) | ![]() | 0% | ![]() | 0% | 16 | 16 | 18 | 18 | 1 | 1 |
remove(ShardRouting) | ![]() | 0% | ![]() | 0% | 10 | 10 | 13 | 13 | 1 | 1 |
shardsWithState(String, ShardRoutingState[]) | ![]() | 0% | ![]() | 0% | 6 | 6 | 12 | 12 | 1 | 1 |
reinitReplica(ShardRouting) | ![]() | 0% | ![]() | 0% | 7 | 7 | 6 | 6 | 1 | 1 |
initializeShard(ShardRouting, String, String, long, RoutingChangesObserver) | ![]() | 0% | ![]() | 0% | 4 | 4 | 11 | 11 | 1 | 1 |
assignedShardsAdd(ShardRouting) | ![]() | 0% | ![]() | 0% | 5 | 5 | 5 | 5 | 1 | 1 |
movePrimaryToUnassignedAndDemoteToReplica(ShardRouting, UnassignedInfo) | ![]() | 0% | ![]() | 0% | 5 | 5 | 6 | 6 | 1 | 1 |
shardsWithState(ShardRoutingState[]) | ![]() | 0% | ![]() | 0% | 4 | 4 | 9 | 9 | 1 | 1 |
findAssignedPrimaryIfPeerRecovery(ShardRouting) | ![]() | 0% | ![]() | 0% | 9 | 9 | 14 | 14 | 1 | 1 |
toString() | ![]() | 0% | ![]() | 0% | 3 | 3 | 9 | 9 | 1 | 1 |
started(ShardRouting) | ![]() | 0% | ![]() | 0% | 5 | 5 | 9 | 9 | 1 | 1 |
promoteActiveReplicaShardToPrimary(ShardRouting) | ![]() | 0% | ![]() | 0% | 5 | 5 | 5 | 5 | 1 | 1 |
relocateShard(ShardRouting, String, long, RoutingChangesObserver) | ![]() | 0% | n/a | 1 | 1 | 10 | 10 | 1 | 1 | |
allReplicasActive(ShardId, Metadata) | ![]() | 0% | ![]() | 0% | 5 | 5 | 8 | 8 | 1 | 1 |
shards(Predicate) | ![]() | 0% | ![]() | 0% | 4 | 4 | 8 | 8 | 1 | 1 |
removeRelocationSource(ShardRouting) | ![]() | 0% | ![]() | 0% | 3 | 3 | 5 | 5 | 1 | 1 |
unassignPrimaryAndPromoteActiveReplicaIfExists(ShardRouting, UnassignedInfo, RoutingChangesObserver) | ![]() | 0% | ![]() | 0% | 4 | 4 | 7 | 7 | 1 | 1 |
moveToUnassigned(ShardRouting, UnassignedInfo) | ![]() | 0% | ![]() | 0% | 3 | 3 | 5 | 5 | 1 | 1 |
getAttributeValues(String) | ![]() | 0% | ![]() | 0% | 4 | 4 | 3 | 3 | 1 | 1 |
getByAllocationId(ShardId, String) | ![]() | 0% | ![]() | 0% | 4 | 4 | 8 | 8 | 1 | 1 |
nodeInterleavedShardIterator() | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
assignedShardsRemove(ShardRouting) | ![]() | 0% | ![]() | 0% | 5 | 5 | 9 | 9 | 1 | 1 |
promoteReplicaToPrimary(ShardRouting, RoutingChangesObserver) | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
activePrimary(ShardId) | ![]() | 0% | ![]() | 0% | 4 | 4 | 5 | 5 | 1 | 1 |
assertInstanceNotInList(ShardRouting, List) | ![]() | 0% | ![]() | 0% | 4 | 4 | 4 | 4 | 1 | 1 |
activeReplicaWithHighestVersion(ShardId) | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
cancelRelocation(ShardRouting) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
assignedShards(ShardId) | ![]() | 0% | ![]() | 0% | 2 | 2 | 2 | 2 | 1 | 1 |
lambda$getAttributeValues$3(String, String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
hasUnassignedPrimaries() | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
hasUnassignedShards() | ![]() | 0% | ![]() | 0% | 3 | 3 | 1 | 1 | 1 | 1 |
lambda$activeReplicaWithHighestVersion$4(ShardRouting) | ![]() | 0% | ![]() | 0% | 3 | 3 | 1 | 1 | 1 | 1 |
static {...} | ![]() | 0% | ![]() | 0% | 2 | 2 | 2 | 2 | 1 | 1 |
ensureMutable() | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
lambda$activeReplicaWithHighestVersion$5(ShardRouting) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
addRecovery(ShardRouting) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
removeRecovery(ShardRouting) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
getIncomingRecoveries(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getOutgoingRecoveries(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
mutableIterator() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
hasInactivePrimaries() | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
hasInactiveShards() | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
lambda$getAttributeValues$2(String, RoutingNode) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
addInitialRecovery(ShardRouting, ShardRouting) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
iterator() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
node(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$activeReplicaWithHighestVersion$6(ShardRouting) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
RoutingNodes(ClusterState) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
size() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$assertShardStats$9(ShardId) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$updateAssigned$8(ShardId) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$assignedShardsAdd$7(ShardId) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$new$1(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$new$0(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
unassigned() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
getRelocatingShardCount() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |