Branch Coverage

src/class_plain_class.c
Criterion Covered Total %
branch 40 68 58.8


line true false branch
16 11 0 if(value && (!SvPOK(value) || !SvCUR(value))) {
11 0 if(value && (!SvPOK(value) || !SvCUR(value))) {
2 9 if(value && (!SvPOK(value) || !SvCUR(value))) {
21 11 0 if (strcmp(name, "isa") == 0) {
11 0 if (strcmp(name, "isa") == 0) {
11 0 if (strcmp(name, "isa") == 0) {
11 0 if (strcmp(name, "isa") == 0) {
24 9 2 if (value) {
28 8 1 if (superstash) {
35 8 0 AV* super_class_isa = get_av(SvPV_nolen(super_class_isa_name), GV_ADD | (SvFLAGS(super_class_isa_name) & SVf_UTF8));
36 8 0 IV super_class_isa_classes_length = av_count(super_class_isa);
38 5 3 if (new_method) {
41 1 4 else if (super_class_isa_classes_length > 0) {
53 2 7 if(is_load_module) {
60 0 9 if(!superstash)
67 9 0 AV *isa = get_av(SvPV_nolen(isa_name), GV_ADD | (SvFLAGS(isa_name) & SVf_UTF8));
85 58 0 if(!methodname || !SvOK(methodname) || !SvCUR(methodname))
0 58 if(!methodname || !SvOK(methodname) || !SvCUR(methodname))
0 0 if(!methodname || !SvOK(methodname) || !SvCUR(methodname))
0 0 if(!methodname || !SvOK(methodname) || !SvCUR(methodname))
0 58 if(!methodname || !SvOK(methodname) || !SvCUR(methodname))
103 38 0 if(!field_name || !SvOK(field_name) || !SvCUR(field_name))
0 38 if(!field_name || !SvOK(field_name) || !SvCUR(field_name))
0 0 if(!field_name || !SvOK(field_name) || !SvCUR(field_name))
0 0 if(!field_name || !SvOK(field_name) || !SvCUR(field_name))
38 0 if(!field_name || !SvOK(field_name) || !SvCUR(field_name))
107 0 58 for(i = 0; i < av_count(fields); i++) {
20 38 for(i = 0; i < av_count(fields); i++) {
109 13 7 if(SvCUR(fieldmeta->name) < 2)
112 0 7 if(sv_eq(fieldmeta->name, field_name))
141 39 0 AV *isa = get_av(SvPV_nolen(isa_name), GV_ADD | (SvFLAGS(isa_name) & SVf_UTF8));
143 37 2 if (!meta->isa_empty) {
144 37 0 if(!av_count(isa)) {
28 9 if(!av_count(isa)) {