Source file "org/elasticsearch/index/translog/Translog.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 2,535 of 2,535 | 0% | 222 of 222 | 0% | 201 | 201 | 479 | 479 | 90 | 90 |
recoverFromFiles(Checkpoint) | ![]() | 0% | ![]() | 0% | 9 | 9 | 32 | 32 | 1 | 1 |
Translog(TranslogConfig, String, TranslogDeletionPolicy, LongSupplier, LongSupplier, LongConsumer) | ![]() | 0% | ![]() | 0% | 8 | 8 | 40 | 40 | 1 | 1 |
add(Translog.Operation) | ![]() | 0% | ![]() | 0% | 3 | 3 | 25 | 25 | 1 | 1 |
trimUnreferencedReaders() | ![]() | 0% | ![]() | 0% | 12 | 12 | 28 | 28 | 1 | 1 |
trimOperations(long, long) | ![]() | 0% | ![]() | 0% | 8 | 8 | 23 | 23 | 1 | 1 |
getMinReferencedGen() | ![]() | 0% | ![]() | 0% | 8 | 8 | 9 | 9 | 1 | 1 |
rollGeneration() | ![]() | 0% | ![]() | 0% | 5 | 5 | 17 | 17 | 1 | 1 |
createEmptyTranslog(Path, ShardId, long, long, String, ChannelFactory) | ![]() | 0% | ![]() | 0% | 3 | 3 | 13 | 13 | 1 | 1 |
readOperation(Translog.Location) | ![]() | 0% | ![]() | 0% | 8 | 8 | 15 | 15 | 1 | 1 |
newSnapshot(long, long) | ![]() | 0% | ![]() | 0% | 5 | 5 | 9 | 9 | 1 | 1 |
newMultiSnapshot(TranslogSnapshot[]) | ![]() | 0% | ![]() | 0% | 5 | 5 | 10 | 10 | 1 | 1 |
getMinFileGeneration() | ![]() | 0% | ![]() | 0% | 5 | 5 | 7 | 7 | 1 | 1 |
readOperation(BufferedChecksumStreamInput) | ![]() | 0% | ![]() | 0% | 3 | 3 | 15 | 15 | 1 | 1 |
copyCheckpointTo(Path) | ![]() | 0% | ![]() | 0% | 2 | 2 | 13 | 13 | 1 | 1 |
openReader(Path, Checkpoint) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
parseIdFromFileName(Path) | ![]() | 0% | ![]() | 0% | 2 | 2 | 7 | 7 | 1 | 1 |
createWriter(long, long, long, LongConsumer) | ![]() | 0% | n/a | 1 | 1 | 9 | 9 | 1 | 1 | |
readersAboveMinSeqNo(long) | ![]() | 0% | ![]() | 0% | 4 | 4 | 3 | 3 | 1 | 1 |
createWriter(long) | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
writeOperations(StreamOutput, List) | ![]() | 0% | ![]() | 0% | 2 | 2 | 10 | 10 | 1 | 1 |
ensureSynced(Translog.Location) | ![]() | 0% | ![]() | 0% | 3 | 3 | 9 | 9 | 1 | 1 |
readCheckpoint(Path, String) | ![]() | 0% | n/a | 1 | 1 | 10 | 10 | 1 | 1 | |
closeOnTragicEvent(Exception) | ![]() | 0% | ![]() | 0% | 6 | 6 | 9 | 9 | 1 | 1 |
verifyChecksum(BufferedChecksumStreamInput) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
getMaxSeqNo() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
stats() | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
closeFilesIfNoPendingRetentionLocks() | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
close() | ![]() | 0% | ![]() | 0% | 4 | 4 | 7 | 7 | 1 | 1 |
findEarliestLastModifiedAge(long, Iterable, TranslogWriter) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
readOperations(StreamInput, String) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
minGenerationForSeqNo(long, TranslogWriter, List) | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
calledFromOutsideOrViaTragedyClose() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
earliestLastModifiedAge() | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
totalOperationsByMinGen(long) | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
sizeInBytesByMinGen(long) | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
shouldRollGeneration() | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
getLastWriteLocation() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
sync() | ![]() | 0% | ![]() | 0% | 2 | 2 | 8 | 8 | 1 | 1 |
getMinGenerationForSeqNo(long) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
deleteReaderFiles(TranslogReader) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$newSnapshot$7(long, long, BaseTranslogReader) | ![]() | 0% | ![]() | 0% | 3 | 3 | 1 | 1 | 1 | 1 |
estimateTotalOperationsFromMinSeq(long) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
acquireRetentionLock() | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
ensureSynced(Stream) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
static {...} | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
writeOperationNoSize(BufferedChecksumStreamOutput, Translog.Operation) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
ensureOpen() | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
getFilename(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getCommitCheckpointFileName(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
currentFileGeneration() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
getLastSyncedCheckpoint() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
syncNeeded() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$readersAboveMinSeqNo$11(long, BaseTranslogReader) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
acquireTranslogGenFromDeletionPolicy(long) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
createEmptyTranslog(Path, long, ShardId, long) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$sizeInBytesByMinGen$5(long, BaseTranslogReader) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
lambda$totalOperationsByMinGen$3(long, BaseTranslogReader) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
lambda$calledFromOutsideOrViaTragedyClose$1(StackTraceElement) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
isOpen() | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
getGeneration() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
createEmptyTranslog(Path, long, ShardId, ChannelFactory, long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
readGlobalCheckpoint(Path, String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
readMinTranslogGeneration(Path, String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$acquireTranslogGenFromDeletionPolicy$12(Releasable) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
lambda$copyCheckpointTo$0(Path) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
newSnapshot() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
readCheckpoint(Path) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$calledFromOutsideOrViaTragedyClose$2(StackTraceElement) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
totalOperations() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
sizeInBytes() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getLastSyncedGlobalCheckpoint() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getFirstOperationPosition() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getTragicException() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$createEmptyTranslog$16(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$createEmptyTranslog$15() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$createEmptyTranslog$14() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$getMaxSeqNo$13(BaseTranslogReader) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$newSnapshot$8(Object) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$sizeInBytesByMinGen$6(Object) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$totalOperationsByMinGen$4(Object) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
location() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getConfig() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getDeletionPolicy() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
syncBeforeRollGeneration() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
getTranslogUUID() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getCurrent() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getReaders() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$newSnapshot$9(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getChannelFactory() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$newMultiSnapshot$10() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |