Branch Coverage

FileCheck.xs
Criterion Covered Total %
branch 180 432 41.6


line true false branch
83 0 780 PUSHMARK(SP);
84 0 780 EXTEND(SP, 2);
94 0 780 if (count != 1)
97 772 8 check_status = POPi; /* TOOO pop on SV* for true / false & co */
102 780 0 FREETMPS;
119 0 68 PUSHMARK(SP);
120 0 68 EXTEND(SP, 2);
130 0 68 if (count != 1)
139 68 0 FREETMPS;
180 0 359 PUSHMARK(SP);
181 0 359 EXTEND(SP, 2);
190 0 351 if (count < 1)
192 0 351 if (count > 2)
196 348 3 if (count == 2) sv = POPs; /* RvAV */
197 351 0 check_status = POPi; /* TOOO pop on SV* for true / false & co */
201 348 3 if ( check_status == 1 ) {
207 0 348 if (count != 2)
210 0 348 if ( ! SvROK(sv) )
214 0 348 if ( SvTYPE(stat_array) != SVt_PVAV )
217 0 348 av_size = AvFILL(stat_array);
218 340 8 if ( av_size > 0 && av_size != ( STAT_T_MAX - 1 ) )
0 340 if ( av_size > 0 && av_size != ( STAT_T_MAX - 1 ) )
222 340 8 if ( av_size > 0 ) {
227 0 340 set_stat_from_aryix( stat->st_dev, 0 ); /* IV */
336 4 set_stat_from_aryix( stat->st_dev, 0 ); /* IV */
336 0 set_stat_from_aryix( stat->st_dev, 0 ); /* IV */
0 4 set_stat_from_aryix( stat->st_dev, 0 ); /* IV */
0 0 set_stat_from_aryix( stat->st_dev, 0 ); /* IV */
0 4 set_stat_from_aryix( stat->st_dev, 0 ); /* IV */
0 0 set_stat_from_aryix( stat->st_dev, 0 ); /* IV */
228 0 336 set_stat_from_aryix( stat->st_ino, 1 ); /* IV or UV : neg = PL_statcache.st_ino < 0 */
336 0 set_stat_from_aryix( stat->st_ino, 1 ); /* IV or UV : neg = PL_statcache.st_ino < 0 */
336 0 set_stat_from_aryix( stat->st_ino, 1 ); /* IV or UV : neg = PL_statcache.st_ino < 0 */
0 0 set_stat_from_aryix( stat->st_ino, 1 ); /* IV or UV : neg = PL_statcache.st_ino < 0 */
0 0 set_stat_from_aryix( stat->st_ino, 1 ); /* IV or UV : neg = PL_statcache.st_ino < 0 */
0 0 set_stat_from_aryix( stat->st_ino, 1 ); /* IV or UV : neg = PL_statcache.st_ino < 0 */
0 0 set_stat_from_aryix( stat->st_ino, 1 ); /* IV or UV : neg = PL_statcache.st_ino < 0 */
229 0 336 set_stat_from_aryix( stat->st_mode, 2 ); /* UV */
336 0 set_stat_from_aryix( stat->st_mode, 2 ); /* UV */
336 0 set_stat_from_aryix( stat->st_mode, 2 ); /* UV */
0 0 set_stat_from_aryix( stat->st_mode, 2 ); /* UV */
0 0 set_stat_from_aryix( stat->st_mode, 2 ); /* UV */
0 0 set_stat_from_aryix( stat->st_mode, 2 ); /* UV */
0 0 set_stat_from_aryix( stat->st_mode, 2 ); /* UV */
230 0 336 set_stat_from_aryix( stat->st_nlink, 3 ); /* UV */
336 0 set_stat_from_aryix( stat->st_nlink, 3 ); /* UV */
336 0 set_stat_from_aryix( stat->st_nlink, 3 ); /* UV */
0 0 set_stat_from_aryix( stat->st_nlink, 3 ); /* UV */
0 0 set_stat_from_aryix( stat->st_nlink, 3 ); /* UV */
0 0 set_stat_from_aryix( stat->st_nlink, 3 ); /* UV */
0 0 set_stat_from_aryix( stat->st_nlink, 3 ); /* UV */
231 0 336 set_stat_from_aryix( stat->st_uid, 4 ); /* IV ? */
336 0 set_stat_from_aryix( stat->st_uid, 4 ); /* IV ? */
336 0 set_stat_from_aryix( stat->st_uid, 4 ); /* IV ? */
0 0 set_stat_from_aryix( stat->st_uid, 4 ); /* IV ? */
0 0 set_stat_from_aryix( stat->st_uid, 4 ); /* IV ? */
0 0 set_stat_from_aryix( stat->st_uid, 4 ); /* IV ? */
0 0 set_stat_from_aryix( stat->st_uid, 4 ); /* IV ? */
232 0 336 set_stat_from_aryix( stat->st_gid, 5 ); /* IV ? */
336 0 set_stat_from_aryix( stat->st_gid, 5 ); /* IV ? */
336 0 set_stat_from_aryix( stat->st_gid, 5 ); /* IV ? */
0 0 set_stat_from_aryix( stat->st_gid, 5 ); /* IV ? */
0 0 set_stat_from_aryix( stat->st_gid, 5 ); /* IV ? */
0 0 set_stat_from_aryix( stat->st_gid, 5 ); /* IV ? */
0 0 set_stat_from_aryix( stat->st_gid, 5 ); /* IV ? */
233 0 336 set_stat_from_aryix( stat->st_rdev, 6 ); /* IV or PV */
336 0 set_stat_from_aryix( stat->st_rdev, 6 ); /* IV or PV */
336 0 set_stat_from_aryix( stat->st_rdev, 6 ); /* IV or PV */
0 0 set_stat_from_aryix( stat->st_rdev, 6 ); /* IV or PV */
0 0 set_stat_from_aryix( stat->st_rdev, 6 ); /* IV or PV */
0 0 set_stat_from_aryix( stat->st_rdev, 6 ); /* IV or PV */
0 0 set_stat_from_aryix( stat->st_rdev, 6 ); /* IV or PV */
234 0 336 set_stat_from_aryix( stat->st_size, 7 ); /* NV or IV */
336 0 set_stat_from_aryix( stat->st_size, 7 ); /* NV or IV */
336 0 set_stat_from_aryix( stat->st_size, 7 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_size, 7 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_size, 7 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_size, 7 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_size, 7 ); /* NV or IV */
235 0 336 set_stat_from_aryix( stat->st_atime, 8 ); /* NV or IV */
336 0 set_stat_from_aryix( stat->st_atime, 8 ); /* NV or IV */
336 0 set_stat_from_aryix( stat->st_atime, 8 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_atime, 8 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_atime, 8 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_atime, 8 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_atime, 8 ); /* NV or IV */
236 0 336 set_stat_from_aryix( stat->st_mtime, 9 ); /* NV or IV */
336 0 set_stat_from_aryix( stat->st_mtime, 9 ); /* NV or IV */
336 0 set_stat_from_aryix( stat->st_mtime, 9 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_mtime, 9 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_mtime, 9 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_mtime, 9 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_mtime, 9 ); /* NV or IV */
237 0 336 set_stat_from_aryix( stat->st_ctime, 10 ); /* NV or IV */
336 0 set_stat_from_aryix( stat->st_ctime, 10 ); /* NV or IV */
336 0 set_stat_from_aryix( stat->st_ctime, 10 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_ctime, 10 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_ctime, 10 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_ctime, 10 ); /* NV or IV */
0 0 set_stat_from_aryix( stat->st_ctime, 10 ); /* NV or IV */
238 0 336 set_stat_from_aryix( stat->st_blksize, 11 ); /* UV or PV */
336 0 set_stat_from_aryix( stat->st_blksize, 11 ); /* UV or PV */
336 0 set_stat_from_aryix( stat->st_blksize, 11 ); /* UV or PV */
0 0 set_stat_from_aryix( stat->st_blksize, 11 ); /* UV or PV */
0 0 set_stat_from_aryix( stat->st_blksize, 11 ); /* UV or PV */
0 0 set_stat_from_aryix( stat->st_blksize, 11 ); /* UV or PV */
0 0 set_stat_from_aryix( stat->st_blksize, 11 ); /* UV or PV */
239 0 336 set_stat_from_aryix( stat->st_blocks, 12 ); /* UV or PV */
334 2 set_stat_from_aryix( stat->st_blocks, 12 ); /* UV or PV */
334 0 set_stat_from_aryix( stat->st_blocks, 12 ); /* UV or PV */
0 2 set_stat_from_aryix( stat->st_blocks, 12 ); /* UV or PV */
0 0 set_stat_from_aryix( stat->st_blocks, 12 ); /* UV or PV */
0 2 set_stat_from_aryix( stat->st_blocks, 12 ); /* UV or PV */
0 0 set_stat_from_aryix( stat->st_blocks, 12 ); /* UV or PV */
245 345 0 FREETMPS;
260 781 775 RETURN_CALL_REAL_OP_IF_UNMOCK();
261 319 456 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 319 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
33 286 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 286 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 286 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
3 283 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
3 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 3 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
3 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 3 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
3 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
311 8 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
25 286 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
268 408 334 if ( check_status == 1 ) FT_RETURNYES;
269 200 134 if ( check_status == 0 ) FT_RETURNUNDEF;
283 31 44 RETURN_CALL_REAL_OP_IF_UNMOCK();
284 24 20 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
2 22 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
6 18 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 18 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 18 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 18 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
23 1 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
5 18 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
289 8 30 if ( check_status == -1 )
308 75 68 RETURN_CALL_REAL_OP_IF_UNMOCK();
309 22 46 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 22 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 22 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 22 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 22 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 22 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
22 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 22 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
313 30 38 if ( SvIOK(status) && SvIV(status) == -1 )
30 0 if ( SvIOK(status) && SvIV(status) == -1 )
0 30 if ( SvIOK(status) && SvIV(status) == -1 )
316 56 12 if ( SvNOK(status) && SvNV(status) == -1 )
56 0 if ( SvNOK(status) && SvNV(status) == -1 )
16 40 if ( SvNOK(status) && SvNV(status) == -1 )
323 40 12 if ( SvNOK(status) )
324 40 0 sv_setnv(TARG, (NV) SvNV(status) );
325 12 0 else if ( SvIOK(status) )
326 12 0 sv_setiv(TARG, (IV) SvIV(status) );
341 98 365 RETURN_CALL_REAL_OP_IF_UNMOCK();
342 365 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 365 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
4 361 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
3 358 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 3 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
2 359 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 2 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
3 356 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
3 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 3 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
3 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 3 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
3 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
361 4 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
2 359 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
348 3 342 if ( check_status == -1 )
374 334 8 if ( size >= 0) { /* yes it succeeds */
386 8 334 if ( size < 0 )
392 334 0 if ( previous_stack && SvPOK(previous_stack) )
331 3 if ( previous_stack && SvPOK(previous_stack) )
393 329 2 sv_setpv(PL_statname, SvPV_nolen(previous_stack) );
446 0 916 if ( ! SvIOK(optype) )
449 916 0 opid = SvIV( optype );
450 916 0 if ( !opid || opid < 0 || opid >= OP_MAX )
916 0 if ( !opid || opid < 0 || opid >= OP_MAX )
0 916 if ( !opid || opid < 0 || opid >= OP_MAX )
480 48 0 if (!gl_overload_ft) {