Branch Coverage

/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/XS/Framework.x/i/xs/Hash.h
Criterion Covered Total %
branch 18 24 75.0


line true false branch
68 0 51 if (!sv) return Scalar();
69 51 0 SV** ref = hv_fetch((HV*)sv, key.data(), key.length(), 0);
71 32 19 if (ref) ret.set(*ref);
32 0 if (ref) ret.set(*ref);
118 0 3 if (HvUSEDKEYS(hv)) operator++();
3 0 if (HvUSEDKEYS(hv)) operator++();
124 12 3 if (cur) {
126 3 9 if (cur) return *this;
128 34 10 while (!cur && arr != end) cur = *arr++;
32 2 while (!cur && arr != end) cur = *arr++;
32 12 while (!cur && arr != end) cur = *arr++;
163 3 0 const_iterator cbegin () const { return sv ? const_iterator((HV*)sv) : const_iterator(); }