line |
true |
false |
branch |
19
|
0 |
7 |
unless open my $fh, $file |
25
|
0 |
7 |
unless open my $fh, '>', $file |
28
|
0 |
7 |
unless close $fh |
29
|
0 |
7 |
unless -s $file == length $contents |
36
|
0 |
0 |
unless $def =~ /^[YN]?$/ |
37
|
0 |
0 |
unless $term |
39
|
0 |
0 |
if $def eq 'Y' |
40
|
0 |
0 |
if $def eq 'N' |
43
|
0 |
0 |
if $yn =~ /^y/i |
44
|
0 |
0 |
if $yn =~ /^n/i |
50
|
0 |
0 |
if defined $bool |
64
|
0 |
0 |
unless $file =~ /^\Q$var\E\s*=\s*(.+)\s*/m |
74
|
0 |
0 |
if ($file =~ m[/(\w+)\.pm]) |
85
|
0 |
0 |
unless my $dir = File::Temp::tempdir() |
90
|
0 |
0 |
wantarray ? : |
98
|
0 |
0 |
unless chdir $dir |
101
|
0 |
0 |
unless chdir $old_cwd |
102
|
0 |
0 |
if $err |
113
|
0 |
0 |
if $$self{'dir'} and -d $$self{'dir'} |