Branch Coverage

csprng.c
Criterion Covered Total %
branch 21 22 95.4


line true false branch
148 54 5 if (bytes >= SEED_BYTES) {
160 44 5 for (i = 4*((bytes+3)/4); i < SEED_BYTES; i += 4)
170 48 11 if (!_has_selftest_run) {
185 4 1 if (insecure_seed <= UVCONST(4294967295)) {
285 1010 131998 if (n <= 1)
291 131998 3 if (r >= rmin)
301 132886 258 if (n <= 4294967295UL)
307 258 1 if (r >= rmin)
315 1 3242 if (nbits == 0) {
317 796 2446 } else if (nbits <= 32) {
320 2446 0 } else if (nbits <= 64) {