Branch Coverage

UUlib.xs
Criterion Covered Total %
branch 12 152 7.8


line true false branch
22 0 0 TEMP_ACQUIRE {
26 0 0 ENTER; SAVETMPS; PUSHMARK (SP); EXTEND (SP, 2);
0 0 ENTER; SAVETMPS; PUSHMARK (SP); EXTEND (SP, 2);
32 0 0 PUTBACK; FREETMPS; LEAVE;
34 0 0 } TEMP_RELEASE;
42 0 0 TEMP_ACQUIRE {
47 0 0 ENTER; SAVETMPS; PUSHMARK (SP); EXTEND (SP, 6);
0 0 ENTER; SAVETMPS; PUSHMARK (SP); EXTEND (SP, 6);
58 0 0 if (count != 1)
61 0 0 retval = POPi;
63 0 0 PUTBACK; FREETMPS; LEAVE;
65 0 0 } TEMP_RELEASE;
75 0 1 TEMP_ACQUIRE {
80 0 1 ENTER; SAVETMPS; PUSHMARK (SP); EXTEND (SP, 1);
0 1 ENTER; SAVETMPS; PUSHMARK (SP); EXTEND (SP, 1);
86 0 1 if (count != 1)
89 0 1 _FP_free (str); str = _FP_strdup (SvPV_nolen (TOPs));
91 1 0 PUTBACK; FREETMPS; LEAVE;
93 0 1 } TEMP_RELEASE;
103 0 0 TEMP_ACQUIRE {
109 0 0 ENTER; SAVETMPS; PUSHMARK (SP); EXTEND (SP, 3);
0 0 ENTER; SAVETMPS; PUSHMARK (SP); EXTEND (SP, 3);
117 0 0 if (count != 1)
120 0 0 strcpy (fname, SvPV_nolen (xfname));
121 0 0 retval = POPi;
123 0 0 PUTBACK; FREETMPS; LEAVE;
125 0 0 } TEMP_RELEASE;
133 0 0 TEMP_ACQUIRE {
138 0 0 ENTER; SAVETMPS; PUSHMARK (SP); EXTEND (SP, 2);
0 0 ENTER; SAVETMPS; PUSHMARK (SP); EXTEND (SP, 2);
141 0 0 PUSHs (filename ? sv_2mortal(newSVpv(filename, 0)) : &PL_sv_undef);
145 0 0 if (count > 1)
148 0 0 if (count)
152 0 0 filename = SvOK (TOPs)
0 0 filename = SvOK (TOPs)
153 0 0 ? _FP_strdup (SvPV_nolen (TOPs))
154 0 0 : 0;
157 0 0 PUTBACK; FREETMPS; LEAVE;
159 0 0 } TEMP_RELEASE;
173 0 0 TEMP_ACQUIRE {
178 0 0 ENTER; SAVETMPS; PUSHMARK(SP); EXTEND(SP,1);
0 0 ENTER; SAVETMPS; PUSHMARK(SP); EXTEND(SP,1);
184 0 0 if (count != 1)
187 0 0 retval = POPi;
189 0 0 PUTBACK; FREETMPS; LEAVE;
191 0 0 } TEMP_RELEASE;
199 0 0 switch (opt)
215 0 1 if (retval != UURET_OK)
234 0 0 if (opt == UUOPT_PROGRESS)
236 0 0 else if (uu_opt_isstring (opt))
259 0 0 if (uu_opt_isstring (opt))
260 0 0 RETVAL = UUSetOption (opt, 0, SvPV (val, dc));
262 0 0 RETVAL = UUSetOption (opt, SvIV (val), (void *)0);
275 0 0 UUSetMsgCallback (FUNC_CB (uu_msg));
282 0 0 UUSetBusyCallback (FUNC_CB (uu_busy), msecs);
288 0 0 UUSetFileCallback (FUNC_CB (uu_file));
294 1 1 UUSetFNameFilter (FUNC_CB (uu_fnamefilter));
300 0 0 UUSetFileNameCallback (FUNC_CB (uu_filename));
321 0 0 XPUSHs (sv_2mortal (newSViv (ret)));
322 0 0 if (GIMME_V == G_ARRAY)
0 0 if (GIMME_V == G_ARRAY)
323 0 0 XPUSHs (sv_2mortal (newSViv (count)));
413 0 0 for (uulist *iter = UUGlobalFileList; iter; iter = iter->NEXT)
414 0 0 XPUSHs (sv_setref_pv (sv_newmortal (), "Convert::UUlib::Item", iter));
480 0 0 if (newmode)
507 0 0 if (newfilename)
557 0 0 while (p)
562 0 0 if (p->filename ) hv_store (pi, "filename", 8, newSVpv (p->filename, 0) , 0);
563 0 0 if (p->subfname ) hv_store (pi, "subfname", 8, newSVpv (p->subfname, 0) , 0);
564 0 0 if (p->mimeid ) hv_store (pi, "mimeid" , 6, newSVpv (p->mimeid , 0) , 0);
565 0 0 if (p->mimetype ) hv_store (pi, "mimetype", 8, newSVpv (p->mimetype, 0) , 0);
566 0 0 if (p->data->subject) hv_store (pi, "subject" , 7, newSVpv (p->data->subject,0), 0);
567 0 0 if (p->data->origin ) hv_store (pi, "origin" , 6, newSVpv (p->data->origin ,0), 0);
568 0 0 if (p->data->sfname ) hv_store (pi, "sfname" , 6, newSVpv (p->data->sfname ,0), 0);
570 0 0 XPUSHs (sv_2mortal (newRV_noinc ((SV *)pi)));
647 60 1 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ > const_iv; civ--)