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);
208 3 0 string = SvPV(r_SV, len);
210 0 3 if (NULL == r)
213 0 3 if (NULL == old_s) {
218 0 3 if (NULL == s) {
222 0 3 if (!ECDSA_SIG_set0(ecdsa_sig, r, s)) {
239 3 0 string = SvPV(s_SV, len);
241 0 3 if (NULL == s)
244 0 3 if (NULL == old_r) {
249 0 3 if (NULL == r) {
253 0 3 if (!ECDSA_SIG_set0(ecdsa_sig, r, s)) {