Branch Coverage

deps/libgit2/src/transports/credential_helpers.c
Criterion Covered Total %
branch 0 10 0.0


line true false branch
24 0 0 if (!userpass || !userpass->password) return -1;
0 0 if (!userpass || !userpass->password) return -1;
38 0 0 if (userpass->username)
40 0 0 else if (user_from_url)
45 0 0 if (GIT_CREDENTIAL_USERNAME & allowed_types)