Source file "org/elasticsearch/env/NodeEnvironment.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 2,227 of 2,227 | 0% | 250 of 250 | 0% | 187 | 187 | 434 | 434 | 62 | 62 |
NodeEnvironment(Settings, Environment) | ![]() | 0% | ![]() | 0% | 12 | 12 | 53 | 53 | 1 | 1 |
loadNodeMetadata(Settings, Logger, NodeEnvironment.NodePath[]) | ![]() | 0% | ![]() | 0% | 12 | 12 | 20 | 20 | 1 | 1 |
maybeLogPathDetails() | ![]() | 0% | ![]() | 0% | 7 | 7 | 33 | 33 | 1 | 1 |
assertCanWrite() | ![]() | 0% | ![]() | 0% | 7 | 7 | 21 | 21 | 1 | 1 |
deleteShardDirectoryUnderLock(ShardLock, IndexSettings, Consumer) | ![]() | 0% | ![]() | 0% | 6 | 6 | 17 | 17 | 1 | 1 |
ensureAtomicMoveSupported(NodeEnvironment.NodePath[]) | ![]() | 0% | ![]() | 0% | 4 | 4 | 12 | 12 | 1 | 1 |
shardLock(ShardId, String, long) | ![]() | 0% | ![]() | 0% | 4 | 4 | 18 | 18 | 1 | 1 |
lockAllForIndex(Index, IndexSettings, String, long) | ![]() | 0% | ![]() | 0% | 4 | 4 | 15 | 15 | 1 | 1 |
shardCountPerPath(Index) | ![]() | 0% | ![]() | 0% | 7 | 7 | 11 | 11 | 1 | 1 |
findAllShardsForIndex(Path, Index) | ![]() | 0% | ![]() | 0% | 7 | 7 | 12 | 12 | 1 | 1 |
collectIndexSubPaths(NodeEnvironment.NodePath[], Predicate) | ![]() | 0% | ![]() | 0% | 5 | 5 | 13 | 13 | 1 | 1 |
acquireFSLockForPaths(IndexSettings, Path[]) | ![]() | 0% | ![]() | 0% | 2 | 2 | 12 | 12 | 1 | 1 |
availableIndexFoldersForPath(NodeEnvironment.NodePath, Predicate) | ![]() | 0% | ![]() | 0% | 7 | 7 | 13 | 13 | 1 | 1 |
resolveIndexFolder(String) | ![]() | 0% | ![]() | 0% | 5 | 5 | 9 | 9 | 1 | 1 |
findAllShardIds(Index) | ![]() | 0% | ![]() | 0% | 6 | 6 | 9 | 9 | 1 | 1 |
lambda$assertPathsDoNotExist$4(Path) | ![]() | 0% | ![]() | 0% | 6 | 6 | 11 | 11 | 1 | 1 |
deleteIndexDirectoryUnderLock(Index, IndexSettings, Consumer) | ![]() | 0% | ![]() | 0% | 2 | 2 | 10 | 10 | 1 | 1 |
static {...} | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
availableIndexFolders(Predicate) | ![]() | 0% | ![]() | 0% | 4 | 4 | 7 | 7 | 1 | 1 |
close() | ![]() | 0% | ![]() | 0% | 4 | 4 | 8 | 8 | 1 | 1 |
assertEnvIsLocked() | ![]() | 0% | ![]() | 0% | 4 | 4 | 8 | 8 | 1 | 1 |
shardStatePathToDataPath(Path) | ![]() | 0% | ![]() | 0% | 5 | 5 | 4 | 4 | 1 | 1 |
tryWriteTempFile(Path) | ![]() | 0% | ![]() | 0% | 2 | 2 | 9 | 9 | 1 | 1 |
assertPathsDoNotExist(Path[]) | ![]() | 0% | ![]() | 0% | 4 | 4 | 6 | 6 | 1 | 1 |
ensureNoIndexMetadata(NodeEnvironment.NodePath[]) | ![]() | 0% | ![]() | 0% | 2 | 2 | 7 | 7 | 1 | 1 |
toString(Collection) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
indexPaths(Index) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
availableShardPaths(ShardId) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
ensureNoShardData(NodeEnvironment.NodePath[]) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
nodeDataPaths() | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
resolveBaseCustomLocation(String, Path, int) | ![]() | 0% | ![]() | 0% | 4 | 4 | 4 | 4 | 1 | 1 |
deleteShardDirectorySafe(ShardId, IndexSettings, Consumer) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
maybeLogHeapDetails() | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
nodePaths() | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
getNodeLockId() | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
isShardPath(Path) | ![]() | 0% | ![]() | 0% | 3 | 3 | 2 | 2 | 1 | 1 |
deleteIndexDirectorySafe(Index, long, IndexSettings, Consumer) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
lockedShards() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
isIndexMetadataPath(Path) | ![]() | 0% | ![]() | 0% | 3 | 3 | 2 | 2 | 1 | 1 |
lambda$new$0(AtomicReference, Path) | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
resolveCustomLocation(String, ShardId, Path, int) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
isShardLocked(ShardId) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
hasNodeFile() | ![]() | 0% | ![]() | 0% | 3 | 3 | 1 | 1 | 1 | 1 |
applySegmentInfosTrace(Settings) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
resolveIndexCustomLocation(String, String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
resolveCustomLocation(String, ShardId) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$assertPathsDoNotExist$3(Path) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
resolveNodePath(Path, int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
generateNodeId(Settings) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
resolveIndexCustomLocation(String, String, Path, int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
shardLock(ShardId, String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$close$7(Lock) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
availableIndexFoldersForPath(NodeEnvironment.NodePath) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
nodeId() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
availableIndexFolders() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
collectShardDataPaths(NodeEnvironment.NodePath[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
collectIndexMetadataPaths(NodeEnvironment.NodePath[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
sharedDataPath() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$loadNodeMetadata$2(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$loadNodeMetadata$1(NodeEnvironment.NodePath) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$availableIndexFoldersForPath$6(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$availableIndexFolders$5(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |