Branch Coverage

Random.xs
Criterion Covered Total %
branch 8 16 50.0


line true false branch
19 0 1 if(New(0,rand_bytes, num_bytes, unsigned char) == NULL)
25 1 0 if(RAND_bytes(rand_bytes, num_bytes) == 1)
27 0 1 XPUSHs(sv_2mortal(newSVpv((const char*)rand_bytes, num_bytes)));
44 0 1 if(New(0,rand_bytes, num_bytes, unsigned char) == NULL)
50 1 0 if(RAND_bytes(rand_bytes, num_bytes) == 1)
52 0 1 XPUSHs(sv_2mortal(newSVpv((const char*)rand_bytes, num_bytes)));
74 0 1 XPUSHs( sv_2mortal( newSViv( RAND_status() ) ) );
106 0 1 XPUSHs( sv_2mortal( newSViv( RAND_status() ) ) );