Branch Coverage

_test_utils.c
Criterion Covered Total %
branch 0 32 0.0


line true false branch
102 0 0 timer->tv_usec = end.tv_usec + (end.tv_usec >= timer->tv_usec ? 0 : 1000000 ) - timer->tv_usec;
147 0 0 if (!context) return 0;
150 0 0 for (i = 0; i < count; i++) rhash_update(context, message, msg_size);
176 0 0 if (hash_id & (RHASH_WHIRLPOOL | RHASH_SNEFRU128 | RHASH_SNEFRU256 | RHASH_SHA3_224 | RHASH_SHA3_256 | RHASH_SHA3_384 | RHASH_SHA3_512)) {
178 0 0 } else if (hash_id & (RHASH_GOST94 | RHASH_GOST94_CRYPTOPRO | RHASH_SHA384 | RHASH_SHA512)) {
183 0 0 if (!hash_name) hash_name = ""; /* benchmarking several hashes*/
185 0 0 for (i = 0; i < (int)sizeof(message); i++) message[i] = i & 0xff;
187 0 0 for (j = 0; j < rounds; j++) {
194 0 0 if ((flags & (RHASH_BENCHMARK_QUIET | RHASH_BENCHMARK_RAW)) == 0) {
202 0 0 if (flags & RHASH_BENCHMARK_CPB) {
208 0 0 for (i = 0; i < 200; i++) {
218 0 0 c1 = (unsigned int)(c1 > cy1 ? cy1 : c1);
219 0 0 c2 = (unsigned int)(c2 > cy2 ? cy2 : c2);
225 0 0 if (flags & RHASH_BENCHMARK_RAW) {
229 0 0 if (flags & RHASH_BENCHMARK_CPB) fprintf(output, "\t%.2f", cpb);
235 0 0 if (flags & RHASH_BENCHMARK_CPB) fprintf(output, ", CPB=%.2f", cpb);