Branch Coverage

lib/Hash/Util/Pick.xs
Criterion Covered Total %
branch 88 134 65.6


line true false branch
28 12 3 (HV*)SvRV(args[0]) : (HV*)sv_2mortal((SV*)newHV());
33 15 15 for (i = 1; i < items; ++i) {
34 7 8 if (hv_exists_ent(src, args[i], 0)) {
36 7 0 if (he) {
43 0 15 XPUSHs(newRV_inc((SV*)dest));
58 15 3 (HV*)SvRV(ST(0)) : (HV*)sv_2mortal((SV*)newHV());
60 16 2 if (!SvROK(ST(1)) || SvTYPE((SV*)SvRV(ST(1))) != SVt_PVCV) {
0 16 if (!SvROK(ST(1)) || SvTYPE((SV*)SvRV(ST(1))) != SVt_PVCV) {
61 0 2 XPUSHs(newRV_noinc((SV*)newHV()));
72 0 16 PUSH_MULTICALL(code);
0 16 PUSH_MULTICALL(code);
77 15 16 while ((value = hv_iternextsv(src, &hkey, &hkeylen)) != NULL) {
80 15 0 if (SvTRUE(*PL_stack_sp)) {
0 15 if (SvTRUE(*PL_stack_sp)) {
3 12 if (SvTRUE(*PL_stack_sp)) {
3 0 if (SvTRUE(*PL_stack_sp)) {
0 3 if (SvTRUE(*PL_stack_sp)) {
6 6 if (SvTRUE(*PL_stack_sp)) {
6 0 if (SvTRUE(*PL_stack_sp)) {
6 0 if (SvTRUE(*PL_stack_sp)) {
3 3 if (SvTRUE(*PL_stack_sp)) {
0 3 if (SvTRUE(*PL_stack_sp)) {
6 0 if (SvTRUE(*PL_stack_sp)) {
6 0 if (SvTRUE(*PL_stack_sp)) {
3 3 if (SvTRUE(*PL_stack_sp)) {
0 3 if (SvTRUE(*PL_stack_sp)) {
0 0 if (SvTRUE(*PL_stack_sp)) {
6 9 if (SvTRUE(*PL_stack_sp)) {
85 16 0 POP_MULTICALL;
0 16 POP_MULTICALL;
87 0 16 XPUSHs(newRV_inc((SV*)dest));
98 12 3 (HV*)SvRV(args[0]) : (HV*)sv_2mortal((SV*)newHV());
104 15 15 for (i = 1; i < items; ++i) {
114 12 15 while ((value = hv_iternextsv(src, &hkey, &hkeylen)) != NULL) {
115 5 7 if (!hv_exists(omit_key_to_exist, hkey, hkeylen)) {
117 5 0 if (svp) {
123 0 15 XPUSHs(newRV_inc((SV*)dest));
138 15 3 (HV*)SvRV(ST(0)) : (HV*)sv_2mortal((SV*)newHV());
145 2 16 if (!SvROK(ST(1)) || SvTYPE((SV*)SvRV(ST(1))) != SVt_PVCV) {
0 16 if (!SvROK(ST(1)) || SvTYPE((SV*)SvRV(ST(1))) != SVt_PVCV) {
146 1 2 while ((value = hv_iternextsv(src, &hkey, &hkeylen)) != NULL) {
150 0 2 XPUSHs(newRV_inc((SV*)dest));
156 0 16 PUSH_MULTICALL(code);
0 16 PUSH_MULTICALL(code);
161 15 16 while ((value = hv_iternextsv(src, &hkey, &hkeylen)) != NULL) {
164 15 0 if (!SvTRUE(*PL_stack_sp)) {
0 15 if (!SvTRUE(*PL_stack_sp)) {
0 0 if (!SvTRUE(*PL_stack_sp)) {
3 12 if (!SvTRUE(*PL_stack_sp)) {
3 0 if (!SvTRUE(*PL_stack_sp)) {
0 3 if (!SvTRUE(*PL_stack_sp)) {
6 6 if (!SvTRUE(*PL_stack_sp)) {
6 0 if (!SvTRUE(*PL_stack_sp)) {
6 0 if (!SvTRUE(*PL_stack_sp)) {
3 3 if (!SvTRUE(*PL_stack_sp)) {
3 0 if (!SvTRUE(*PL_stack_sp)) {
3 3 if (!SvTRUE(*PL_stack_sp)) {
6 0 if (!SvTRUE(*PL_stack_sp)) {
6 0 if (!SvTRUE(*PL_stack_sp)) {
3 3 if (!SvTRUE(*PL_stack_sp)) {
0 3 if (!SvTRUE(*PL_stack_sp)) {
0 0 if (!SvTRUE(*PL_stack_sp)) {
3 3 if (!SvTRUE(*PL_stack_sp)) {
0 0 if (!SvTRUE(*PL_stack_sp)) {
169 16 0 POP_MULTICALL;
0 16 POP_MULTICALL;
171 0 16 XPUSHs(newRV_inc((SV*)dest));