Branch Coverage

xs/util.h
Criterion Covered Total %
branch 27 40 67.5


line true false branch
26 0 417 if (UNLIKELY(!payload)) croak("Can't find hash key information");
46 16 118 if (SvROK(self)) {
51 0 118 if (UNLIKELY(!acc_gv)) croak("Can't have package accessor in anon sub");
54 118 0 const char* stash_name = HvENAME(stash);
118 0 const char* stash_name = HvENAME(stash);
118 0 const char* stash_name = HvENAME(stash);
0 118 const char* stash_name = HvENAME(stash);
0 118 const char* stash_name = HvENAME(stash);
118 0 const char* stash_name = HvENAME(stash);
55 117 1 const char* self_name = SvPV_nolen(self);
56 21 97 if (strcmp(stash_name, self_name) != 0) {
58 0 21 if (UNLIKELY(!stash)) croak("Couldn't get required stash");
68 136 55 GV* glob = hent ? (GV*)HeVAL(hent) : NULL;
70 136 55 if (UNLIKELY(!glob || !isGV(glob) || SvFAKE(glob))) {
0 136 if (UNLIKELY(!glob || !isGV(glob) || SvFAKE(glob))) {
136 55 if (UNLIKELY(!glob || !isGV(glob) || SvFAKE(glob))) {
0 136 if (UNLIKELY(!glob || !isGV(glob) || SvFAKE(glob))) {
71 55 0 if (!glob) glob = (GV*)newSV(0);
75 0 55 if (hent) {
82 1 54 if (!hv_store_ent(stash, pkg_key, (SV*)glob, 0)) {