Branch Coverage

src/xs/Sv.cc
Criterion Covered Total %
branch 22 44 50.0


line true false branch
16 45 0 upgrade(SVt_PVMG);
18 0 45 Newx(mg, 1, MAGIC);
0 45 Newx(mg, 1, MAGIC);
45 0 Newx(mg, 1, MAGIC);
27 8 37 if (obj) {
50 27 1305 if (!v) return os << (void*)nullptr;
27 0 if (!v) return os << (void*)nullptr;
52 76 0 case SVt_NULL: return os << "";
53 133 0 case SVt_PVAV: return os << "array(" << (void*)v << ')';
133 0 case SVt_PVAV: return os << "array(" << (void*)v << ')';
133 0 case SVt_PVAV: return os << "array(" << (void*)v << ')';
54 223 0 case SVt_PVHV: return os << "hash(" << (void*)v << ')';
223 0 case SVt_PVHV: return os << "hash(" << (void*)v << ')';
223 0 case SVt_PVHV: return os << "hash(" << (void*)v << ')';
55 0 0 case SVt_PVFM: return os << "format(" << (void*)v << ')';
0 0 case SVt_PVFM: return os << "format(" << (void*)v << ')';
0 0 case SVt_PVFM: return os << "format(" << (void*)v << ')';
58 133 740 auto s = SvPV(v, len);
740 0 auto s = SvPV(v, len);
59 873 0 return os.write(s, len);
63 36 0 }
36 0 }