Branch Coverage

include/bearssl_x509.h
Criterion Covered Total %
branch 9 22 40.9


line true false branch
1096 150 0 if (ctx->decoded && ctx->err == 0) {
150 0 if (ctx->decoded && ctx->err == 0) {
1116 0 152 if (ctx->err != 0) {
1119 0 152 if (!ctx->decoded) {
1259 0 2 if (ctx->err != 0) {
1262 0 2 if (ctx->key_type == 0) {
1280 2 0 if (ctx->err == 0) {
1301 2 0 if (ctx->err == 0 && ctx->key_type == BR_KEYTYPE_RSA) {
2 0 if (ctx->err == 0 && ctx->key_type == BR_KEYTYPE_RSA) {
1322 0 0 if (ctx->err == 0 && ctx->key_type == BR_KEYTYPE_EC) {
0 0 if (ctx->err == 0 && ctx->key_type == BR_KEYTYPE_EC) {