Branch Coverage

bson/bson-oid.c
Criterion Covered Total %
branch 2 46 4.3


line true false branch
123 0 0 if (!context) {
163 0 0 BSON_ASSERT (oid);
165 0 0 if (!context) {
205 0 27 BSON_ASSERT (oid);
206 0 27 BSON_ASSERT (data);
237 0 0 BSON_ASSERT (oid);
238 0 0 BSON_ASSERT (str);
263 0 0 BSON_ASSERT (oid);
319 0 0 BSON_ASSERT (oid);
320 0 0 BSON_ASSERT (str);
360 0 0 BSON_ASSERT (oid);
388 0 0 BSON_ASSERT (oid1);
389 0 0 BSON_ASSERT (oid2);
416 0 0 BSON_ASSERT (oid1);
417 0 0 BSON_ASSERT (oid2);
447 0 0 BSON_ASSERT (src);
448 0 0 BSON_ASSERT (dst);
481 0 0 BSON_ASSERT (str);
483 0 0 if ((length == 25) && (str [24] == '\0')) {
0 0 if ((length == 25) && (str [24] == '\0')) {
487 0 0 if (length == 24) {
488 0 0 for (i = 0; i < length; i++) {
489 0 0 switch (str[i]) {