Condition Coverage

blib/lib/File/Temp.pm
Criterion Covered Total %
condition 45 102 44.1


and 3 conditions

line !l l&&!r l&&r condition
374 12 34 0 $options{'open'} and $options{'mkdir'}
508 0 0 0 $options{'unlink_on_close'} and not $KEEP_ALL
34 0 0 $^O eq 'VMS' and ($options{'unlink_on_close'} and not $KEEP_ALL)
513 33 0 1 $options{'unlink_on_close'} && !$KEEP_ALL
516 34 0 0 defined $LOCKFLAG and $options{'use_exlock'}
686 2 0 0 $info[4] > 'File::Temp'->top_system_uid and $info[4] != $>
922 3 0 0 $@ and $^W
933 1 0 0 $@ and $^W
1255 2 1 11 do { *$self }->{'UNLINK'} and not $KEEP_ALL
1390 8 22 1 @_ and $_[0] eq 'File::Temp'
1422 16 14 0 $options{'DIR'} and $^O eq 'VMS'
1528 26 0 0 $^O eq 'MSWin32' and ${^TAINT}
1640 2 7 1 @_ and $_[0] eq 'File::Temp'
1713 9 0 0 $^O eq 'MacOS' and substr($template, -1) eq ':'
1728 5 0 4 $options{'CLEANUP'} and -d $tempdir
1868 1 0 0 $^O eq 'MacOS' and substr($template, -1) eq ':'
2215 11 0 0 $fh[3] > 1 and $^W
2420 1 1 1 $level != 0 and $level != 1
2 1 0 $level != 0 and $level != 1 and $level != 2
2424 3 0 0 $] < 5.006 and $level != 0
2636 0 0 5 $self->unlink_on_destroy and $$ == $self->{'LAUNCHPID'}
0 0 5 $self->unlink_on_destroy and $$ == $self->{'LAUNCHPID'} and not $File::Temp::KEEP_ALL
2644 5 0 0 $@ and $^W

or 3 conditions

line l !l&&r !l&&!r condition
586 0 0 0 $path ne $original or $counter > $MAX_GUESS
701 2 0 0 $info[2] & &Fcntl::S_IWGRP or $info[2] & &Fcntl::S_IWOTH
831 0 0 2 $^O eq 'MSWin32' or $^O eq 'os2'
0 0 2 $^O eq 'MSWin32' or $^O eq 'os2' or $^O eq 'cygwin'
0 0 2 $^O eq 'MSWin32' or $^O eq 'os2' or $^O eq 'cygwin' or $^O eq 'dos'
0 0 2 $^O eq 'MSWin32' or $^O eq 'os2' or $^O eq 'cygwin' or $^O eq 'dos' or $^O eq 'MacOS'
0 0 2 $^O eq 'MSWin32' or $^O eq 'os2' or $^O eq 'cygwin' or $^O eq 'dos' or $^O eq 'MacOS' or $^O eq 'mpeix'
1077 0 15 0 ref $proto || $proto
1552 0 0 0 -e $local_app or mkdir $local_app, 448
1667 0 3 2 $options{'TMPDIR'} or $options{'DIR'}
2160 5 0 0 $fh[3] == 0 or $^O eq 'cygwin'