Branch Coverage

src/xs/Scope.cc
Criterion Covered Total %
branch 11 22 50.0


line true false branch
9 4 0 auto copy = Sv::create();
10 4 0 sv_setsv(copy, value);
13 4 0 auto he = hv_store_ent(hv, Simple(name), copy.detach(), 0);
4 0 auto he = hv_store_ent(hv, Simple(name), copy.detach(), 0);
16 4 0 if (he) SvSETMAGIC(HeVAL(he));
4 0 if (he) SvSETMAGIC(HeVAL(he));
4 0 if (he) SvSETMAGIC(HeVAL(he));
21 4 0 Hash hints = GvHV(PL_hintgv);
22 4 0 hints.erase(name);
30 1 0 Hash hints = GvHV(PL_hintgv);
31 1 0 return hints[name];