Branch Coverage

/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/XS/Framework.x/i/xs/Stash.h
Criterion Covered Total %
branch 12 52 23.0


line true false branch
47 82 0 Stash (HV* sv, bool policy = INCREMENT) : Hash(sv, policy) { _validate(); }
50 3496 0 *this = gv_stashpvn(package.data(), package.length(), flags);
3496 0 *this = gv_stashpvn(package.data(), package.length(), flags);
114 0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
0 0 string_view name () const { return string_view(HvNAME(sv), HvNAMELEN(sv)); }
159 138 0 void mark_as_loaded (const string_view& source) const { mark_as_loaded(Stash(source, GV_ADD)); }
162 1288 0 void inherit (const string_view& parent) { inherit(Stash(parent, GV_ADD)); }
197 0 3578 if (!sv) return;
198 3578 0 if (HvNAME(sv)) return;
3578 0 if (HvNAME(sv)) return;
0 3578 if (HvNAME(sv)) return;
3578 0 if (HvNAME(sv)) return;
0 3578 if (HvNAME(sv)) return;
3578 0 if (HvNAME(sv)) return;
199 0 0 if (is_undef()) return reset();
201 0 0 throw std::invalid_argument("wrong SV* type for Stash");