Branch Coverage

snappy/csnappy_compress.c
Criterion Covered Total %
branch 0 52 0.0


line true false branch
51 0 0 if (v < (1<<7)) {
53 0 0 } else if (v < (1<<14)) {
56 0 0 } else if (v < (1<<21)) {
60 0 0 } else if (v < (1<<28)) {
266 0 0 while (likely(s2 <= s2_limit - 8)) {
267 0 0 if (unlikely(UNALIGNED_LOAD64(s1 + matched) ==
286 0 0 while (likely(s2 < s2_limit)) {
287 0 0 if (likely(s1[matched] == *s2)) {
336 0 0 if (n < 60) {
350 0 0 if (allow_fast_path && len <= 16) {
0 0 if (allow_fast_path && len <= 16) {
360 0 0 while (n > 0) {
380 0 0 if ((len < 12) && (offset < 2048)) {
0 0 if ((len < 12) && (offset < 2048)) {
400 0 0 while (len >= 68) {
407 0 0 if (len > 64) {
498 0 0 if (unlikely(input_size < kInputMarginBytes))
543 0 0 if (unlikely(next_ip > ip_limit))
551 0 0 } while (likely(UNALIGNED_LOAD32(ip) !=
585 0 0 if (unlikely(ip >= ip_limit))
594 0 0 } while (GetUint32AtOffset(input_bytes, 1) == candidate_bytes);
602 0 0 if (next_emit < ip_end)
636 0 0 while (input_length > 0) {
639 0 0 if (unlikely(num_to_read < kBlockSize)) {
641 0 0 workmem_size < workmem_bytes_power_of_two;
643 0 0 if ((1 << (workmem_size-1)) >= num_to_read)