Branch Coverage

FileCheck.xs
Criterion Covered Total %
branch 179 432 41.4


line true false branch
83 0 771 PUSHMARK(SP);
84 0 771 EXTEND(SP, 2);
94 0 771 if (count != 1)
97 763 8 check_status = POPi; /* TOOO pop on SV* for true / false & co */
102 771 0 FREETMPS;
119 0 103 PUSHMARK(SP);
120 0 103 EXTEND(SP, 2);
130 0 103 if (count != 1)
139 103 0 FREETMPS;
180 0 385 PUSHMARK(SP);
181 0 385 EXTEND(SP, 2);
190 0 377 if (count < 1)
192 0 377 if (count > 2)
196 374 3 if (count == 2) sv = POPs; /* RvAV */
197 377 0 check_status = POPi; /* TOOO pop on SV* for true / false & co */
201 374 3 if ( check_status == 1 ) {
207 0 374 if (count != 2)
210 0 374 if ( ! SvROK(sv) )
214 0 374 if ( SvTYPE(stat_array) != SVt_PVAV )
217 0 374 av_size = AvFILL(stat_array);
218 372 2 if ( av_size > 0 && av_size != ( STAT_T_MAX - 1 ) )
0 372 if ( av_size > 0 && av_size != ( STAT_T_MAX - 1 ) )
221 372 2 if ( av_size > 0 ) {
227 0 372 set_stat_from_aryix( stat->st_dev, 0 ); /* IV */
368 4 set_stat_from_aryix( stat->st_dev, 0 ); /* IV */
368 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 368 set_stat_from_aryix( stat->st_ino, 1 ); /* IV or UV : neg = PL_statcache.st_ino < 0 */
368 0 set_stat_from_aryix( stat->st_ino, 1 ); /* IV or UV : neg = PL_statcache.st_ino < 0 */
368 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 368 set_stat_from_aryix( stat->st_mode, 2 ); /* UV */
368 0 set_stat_from_aryix( stat->st_mode, 2 ); /* UV */
368 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 368 set_stat_from_aryix( stat->st_nlink, 3 ); /* UV */
368 0 set_stat_from_aryix( stat->st_nlink, 3 ); /* UV */
368 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 368 set_stat_from_aryix( stat->st_uid, 4 ); /* IV ? */
368 0 set_stat_from_aryix( stat->st_uid, 4 ); /* IV ? */
368 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 368 set_stat_from_aryix( stat->st_gid, 5 ); /* IV ? */
368 0 set_stat_from_aryix( stat->st_gid, 5 ); /* IV ? */
368 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 368 set_stat_from_aryix( stat->st_rdev, 6 ); /* IV or PV */
368 0 set_stat_from_aryix( stat->st_rdev, 6 ); /* IV or PV */
368 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 368 set_stat_from_aryix( stat->st_size, 7 ); /* NV or IV */
368 0 set_stat_from_aryix( stat->st_size, 7 ); /* NV or IV */
368 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 368 set_stat_from_aryix( stat->st_atime, 8 ); /* NV or IV */
368 0 set_stat_from_aryix( stat->st_atime, 8 ); /* NV or IV */
368 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 368 set_stat_from_aryix( stat->st_mtime, 9 ); /* NV or IV */
368 0 set_stat_from_aryix( stat->st_mtime, 9 ); /* NV or IV */
368 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 368 set_stat_from_aryix( stat->st_ctime, 10 ); /* NV or IV */
368 0 set_stat_from_aryix( stat->st_ctime, 10 ); /* NV or IV */
368 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 368 set_stat_from_aryix( stat->st_blksize, 11 ); /* UV or PV */
368 0 set_stat_from_aryix( stat->st_blksize, 11 ); /* UV or PV */
368 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 368 set_stat_from_aryix( stat->st_blocks, 12 ); /* UV or PV */
366 2 set_stat_from_aryix( stat->st_blocks, 12 ); /* UV or PV */
366 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 371 0 FREETMPS;
260 760 763 RETURN_CALL_REAL_OP_IF_UNMOCK();
261 307 456 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 307 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
30 277 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 277 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 277 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 274 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();
302 5 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
25 277 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
268 404 329 if ( check_status == 1 ) FT_RETURNYES;
269 195 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 103 RETURN_CALL_REAL_OP_IF_UNMOCK();
309 57 46 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 57 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 57 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 57 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 57 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 57 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();
57 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 57 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
313 30 73 if ( SvIOK(status) && SvIV(status) == -1 )
30 0 if ( SvIOK(status) && SvIV(status) == -1 )
0 30 if ( SvIOK(status) && SvIV(status) == -1 )
316 91 12 if ( SvNOK(status) && SvNV(status) == -1 )
91 0 if ( SvNOK(status) && SvNV(status) == -1 )
16 75 if ( SvNOK(status) && SvNV(status) == -1 )
323 75 12 if ( SvNOK(status) )
324 75 0 sv_setnv(TARG, (NV) SvNV(status) );
325 12 0 else if ( SvIOK(status) )
326 12 0 sv_setiv(TARG, (IV) SvIV(status) );
341 87 391 RETURN_CALL_REAL_OP_IF_UNMOCK();
342 391 0 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 391 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
4 387 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
3 384 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
0 3 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
2 385 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 382 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();
387 4 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
2 385 RETURN_CALL_REAL_OP_IF_CALL_WITH_DEFGV();
348 3 368 if ( check_status == -1 )
378 2 366 if ( !size )
383 366 0 if ( size ) { /* yes it succeeds */
392 366 0 if ( previous_stack && SvPOK(previous_stack) )
363 3 if ( previous_stack && SvPOK(previous_stack) )
393 361 2 sv_setpv(PL_statname, SvPV_nolen(previous_stack) );
446 0 884 if ( ! SvIOK(optype) )
449 884 0 opid = SvIV( optype );
450 884 0 if ( !opid || opid < 0 || opid >= OP_MAX )
884 0 if ( !opid || opid < 0 || opid >= OP_MAX )
0 884 if ( !opid || opid < 0 || opid >= OP_MAX )
480 47 0 if (!gl_overload_ft) {