Condition Coverage

blib/lib/File/Temp.pm
Criterion Covered Total %
condition 47 105 44.7


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'}
685 4 0 0 $info[4] > "File::Temp"->top_system_uid and $info[4] != $>
921 3 0 0 $@ and $^W
932 1 0 0 $@ and $^W
1254 2 1 11 do { *$self }->{'UNLINK'} and not $KEEP_ALL
1389 8 22 1 @_ and $_[0] eq "File::Temp"
1421 16 14 0 $options{'DIR'} and $^O eq "VMS"
1527 26 0 0 $^O eq "MSWin32" and ${^TAINT}
1639 2 7 1 @_ and $_[0] eq "File::Temp"
1708 9 0 0 $^O eq "VMS" and $template =~ /([\.\]:>]+)$/
1712 9 0 0 $^O eq "MacOS" and substr($template, -1) eq ":"
1727 5 0 4 $options{'CLEANUP'} and -d $tempdir
1867 1 0 0 $^O eq "MacOS" and substr($template, -1) eq ":"
2214 11 0 0 $fh[3] > 1 and $^W
2419 1 1 1 $level != 0 and $level != 1
2 1 0 $level != 0 and $level != 1 and $level != 2
2423 3 0 0 $] < "5.006" and $level != 0
2635 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
2643 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
700 3 0 1 $info[2] & &Fcntl::S_IWGRP or $info[2] & &Fcntl::S_IWOTH
830 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"
1076 0 15 0 ref $proto || $proto
1551 0 0 0 -e $local_app or mkdir $local_app, 448
1666 0 3 2 $options{'TMPDIR'} or $options{'DIR'}
2159 5 0 0 $fh[3] == 0 or $^O eq "cygwin"