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
372 12 33 0 $options{'open'} and $options{'mkdir'}
503 0 0 0 $options{'unlink_on_close'} and not $KEEP_ALL
33 0 0 $^O eq 'VMS' and ($options{'unlink_on_close'} and not $KEEP_ALL)
508 32 0 1 $options{'unlink_on_close'} && !$KEEP_ALL
511 33 0 0 defined $LOCKFLAG and $options{'use_exlock'}
681 2 0 0 $info[4] > 'File::Temp'->top_system_uid and $info[4] != $>
917 3 0 0 $@ and $^W
928 1 0 0 $@ and $^W
1249 2 1 11 do { *$self }->{'UNLINK'} and not $KEEP_ALL
1377 8 21 1 @_ and $_[0] eq 'File::Temp'
1408 16 13 0 $options{'DIR'} and $^O eq 'VMS'
1513 26 0 0 $^O eq 'MSWin32' and ${^TAINT}
1625 2 7 1 @_ and $_[0] eq 'File::Temp'
1698 9 0 0 $^O eq 'MacOS' and substr($template, -1) eq ':'
1713 5 0 4 $options{'CLEANUP'} and -d $tempdir
1853 1 0 0 $^O eq 'MacOS' and substr($template, -1) eq ':'
2200 11 0 0 $fh[3] > 1 and $^W
2405 1 1 1 $level != 0 and $level != 1
2 1 0 $level != 0 and $level != 1 and $level != 2
2409 3 0 0 $] < 5.006 and $level != 0
2621 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
2629 5 0 0 $@ and $^W

or 3 conditions

line l !l&&r !l&&!r condition
581 0 0 0 $path ne $original or $counter > $MAX_GUESS
696 2 0 0 $info[2] & &Fcntl::S_IWGRP or $info[2] & &Fcntl::S_IWOTH
826 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'
1071 0 15 0 ref $proto || $proto
1537 0 0 0 -e $local_app or mkdir $local_app, 448
1652 0 3 2 $options{'TMPDIR'} or $options{'DIR'}
2145 5 0 0 $fh[3] == 0 or $^O eq 'cygwin'