Branch Coverage

blib/lib/File/MkTemp.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
28 0 2 unless @_ == 2 or @_ == 3
37 0 2 unless defined $fh
48 0 2 unless @_ == 2 or @_ == 3
57 0 2 unless defined $fh
67 0 6 unless @_ == 1 or @_ == 2 or @_ == 3
73 0 6 if substr($template, -6, 6) ne 'XXXXXX'
76 6 0 if ($dir)
77 0 6 unless -e $dir
93 3 3 if $ext
95 6 0 if ($dir) { }
97 6 0 unless -e $lookup
102 6 0 if $keepgen == 0