Branch Coverage

ECDSA.xs
Criterion Covered Total %
branch 19 34 55.8


line true false branch
21 4 4 if (pr != NULL)
23 4 4 if (ps != NULL)
29 6 0 if (r == NULL || s == NULL)
0 6 if (r == NULL || s == NULL)
67 1 0 dgst = (const unsigned char *)SvPV(ST(0), dgst_len);
77 1 0 dgst = (const unsigned char *)SvPV(ST(0), dgst_len);
87 4 0 dgst = (const unsigned char *)SvPV(ST(0), dgst_len);
212 3 0 string = SvPV(r_SV, len);
214 0 3 if (NULL == r)
217 0 3 if (NULL == old_s) {
222 0 3 if (NULL == s) {
226 0 3 if (!ECDSA_SIG_set0(ecdsa_sig, r, s)) {
243 3 0 string = SvPV(s_SV, len);
245 0 3 if (NULL == s)
248 0 3 if (NULL == old_r) {
253 0 3 if (NULL == r) {
257 0 3 if (!ECDSA_SIG_set0(ecdsa_sig, r, s)) {