Source file "org/apache/kafka/common/record/MemoryRecordsBuilder.java" was not found during generation of report.
| Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
| Total | 1,477 of 1,477 | 0% | 144 of 144 | 0% | 135 | 135 | 316 | 316 | 63 | 63 |
| MemoryRecordsBuilder(ByteBufferOutputStream, byte, CompressionType, TimestampType, long, long, long, short, int, boolean, boolean, int, int) | 0% | 0% | 7 | 7 | 41 | 41 | 1 | 1 | ||
| appendWithOffset(long, boolean, long, ByteBuffer, ByteBuffer, Header[]) | 0% | 0% | 11 | 11 | 18 | 18 | 1 | 1 | ||
| writeDefaultBatchHeader() | 0% | 0% | 2 | 2 | 14 | 14 | 1 | 1 | ||
| close() | 0% | 0% | 6 | 6 | 18 | 18 | 1 | 1 | ||
| hasRoomFor(long, ByteBuffer, ByteBuffer, Header[]) | 0% | 0% | 7 | 7 | 10 | 10 | 1 | 1 | ||
| recordWritten(long, long, int) | 0% | 0% | 5 | 5 | 11 | 11 | 1 | 1 | ||
| info() | 0% | 0% | 7 | 7 | 11 | 11 | 1 | 1 | ||
| writeLegacyCompressedWrapperHeader() | 0% | 0% | 2 | 2 | 11 | 11 | 1 | 1 | ||
| appendUncheckedWithOffset(long, SimpleRecord) | 0% | 0% | 3 | 3 | 18 | 18 | 1 | 1 | ||
| validateProducerState() | 0% | 0% | 8 | 8 | 10 | 10 | 1 | 1 | ||
| appendLegacyRecord(long, long, ByteBuffer, ByteBuffer, byte) | 0% | 0% | 4 | 4 | 10 | 10 | 1 | 1 | ||
| appendUncheckedWithOffset(long, LegacyRecord) | 0% | n/a | 1 | 1 | 10 | 10 | 1 | 1 | ||
| appendControlRecordWithOffset(long, SimpleRecord) | 0% | 0% | 2 | 2 | 7 | 7 | 1 | 1 | ||
| appendDefaultRecord(long, long, ByteBuffer, ByteBuffer, Header[]) | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | ||
| appendEndTxnMarker(long, EndTransactionMarker) | 0% | 0% | 3 | 3 | 7 | 7 | 1 | 1 | ||
| appendLeaderChangeMessage(long, LeaderChangeMessage) | 0% | 0% | 2 | 2 | 5 | 5 | 1 | 1 | ||
| reopenAndRewriteProducerState(long, short, int, boolean) | 0% | 0% | 2 | 2 | 8 | 8 | 1 | 1 | ||
| appendControlRecord(long, ControlRecordType, ByteBuffer) | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | ||
| estimatedBytesWritten() | 0% | 0% | 2 | 2 | 3 | 3 | 1 | 1 | ||
| setProducerState(long, short, int, boolean) | 0% | 0% | 2 | 2 | 7 | 7 | 1 | 1 | ||
| MemoryRecordsBuilder(ByteBuffer, byte, CompressionType, TimestampType, long, long, long, short, int, boolean, boolean, int, int) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| closeForRecordAppends() | 0% | 0% | 2 | 2 | 6 | 6 | 1 | 1 | ||
| ensureOpenForRecordBatchWrite() | 0% | 0% | 3 | 3 | 5 | 5 | 1 | 1 | ||
| isFull() | 0% | 0% | 4 | 4 | 1 | 1 | 1 | 1 | ||
| append(Record) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| toInnerOffset(long) | 0% | 0% | 3 | 3 | 3 | 3 | 1 | 1 | ||
| build() | 0% | 0% | 2 | 2 | 4 | 4 | 1 | 1 | ||
| overrideLastOffset(long) | 0% | 0% | 2 | 2 | 4 | 4 | 1 | 1 | ||
| abort() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | ||
| appendWithOffset(long, SimpleRecord) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| appendWithOffset(long, Record) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| nextSequentialOffset() | 0% | 0% | 2 | 2 | 1 | 1 | 1 | 1 | ||
| appendWithOffset(long, long, byte[], byte[], Header[]) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| appendWithOffset(long, long, byte[], byte[]) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| appendWithOffset(long, LegacyRecord) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| ensureOpenForRecordAppend() | 0% | 0% | 2 | 2 | 3 | 3 | 1 | 1 | ||
| estimatedSizeInBytes() | 0% | 0% | 2 | 2 | 1 | 1 | 1 | 1 | ||
| appendWithOffset(long, long, ByteBuffer, ByteBuffer, Header[]) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| append(long, ByteBuffer, ByteBuffer, Header[]) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| append(long, byte[], byte[]) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| append(long, byte[], byte[], Header[]) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| hasRoomFor(long, byte[], byte[], Header[]) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| appendWithOffset(long, long, ByteBuffer, ByteBuffer) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| appendSnapshotHeaderMessage(long, SnapshotHeaderRecord) | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | ||
| appendSnapshotFooterMessage(long, SnapshotFooterRecord) | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | ||
| static {...} | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| append(long, ByteBuffer, ByteBuffer) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| isClosed() | 0% | 0% | 2 | 2 | 1 | 1 | 1 | 1 | ||
| uncompressedBytesWritten() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| append(SimpleRecord) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| append(LegacyRecord) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| buffer() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| initialCapacity() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| compressionRatio() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| setEstimatedCompressionRatio(float) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| compressionType() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| isControlBatch() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| isTransactional() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| numRecords() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| magic() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| producerId() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| producerEpoch() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| baseSequence() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |