Branch Coverage

xsubs/def.xs
Criterion Covered Total %
branch 24 26 92.3


line true false branch
31 255 12 CHECK_VOID_CONTEXT;
12 255 CHECK_VOID_CONTEXT;
8 4 CHECK_VOID_CONTEXT;
33 30 225 if (get_type_spec(THIS, type, &member, &mi.type) == 0)
36 4 221 if (mi.type.ptr == NULL)
44 137 6 RETVAL = is_typedef_defined((Typedef *) ptr) ? "typedef" : "";
48 73 2 if (((Struct *) ptr)->declarations)
49 62 11 RETVAL = ((Struct *) ptr)->tflags & T_STRUCT ? "struct" : "union";
55 3 0 RETVAL = ((EnumSpecifier *) ptr)->enumerators ? "enum" : "";
63 221 0 if (member && *member != '\0' && *RETVAL != '\0')
26 195 if (member && *member != '\0' && *RETVAL != '\0')
22 4 if (member && *member != '\0' && *RETVAL != '\0')
68 11 11 ? "member" : "";