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 11 50 22.0


line true false branch
49 2 0 Stash (HV* sv, bool policy = INCREMENT) : Hash(sv, policy) { _validate(); }
52 365 0 *this = gv_stashpvn(package.data(), package.length(), flags);
365 0 *this = gv_stashpvn(package.data(), package.length(), flags);
120 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)); }
170 117 0 void inherit (const string_view& parent) { inherit(Stash(parent, GV_ADD)); }
205 0 367 if (!sv) return;
206 367 0 if (HvNAME(sv)) return;
367 0 if (HvNAME(sv)) return;
0 367 if (HvNAME(sv)) return;
367 0 if (HvNAME(sv)) return;
0 367 if (HvNAME(sv)) return;
367 0 if (HvNAME(sv)) return;
207 0 0 if (is_undef()) return reset();
209 0 0 throw std::invalid_argument("SV is not a Stash or Stash reference");