line |
true |
false |
branch |
18
|
0 |
6 |
if $options{'file'} |
22
|
1 |
5 |
if $options{'resolve'} |
29
|
0 |
2 |
if $options{'allow_missing'} and not -f $file_name |
30
|
0 |
2 |
unless open my $fh, "<", $file_name |
32
|
4 |
8 |
if $l =~ /^\s*(?:#.*)?$/ |
33
|
0 |
8 |
unless $l =~ /^\s*([-0-9a-z_.]+?)\s*=\s*(.*?)\s*$/i |
34
|
8 |
0 |
if not exists $this->{'config'}{$1} or $options{'allow_override'} |
53
|
0 |
0 |
if not $this->exists($key) and exists $options{'default'} |
54
|
0 |
26 |
if $options{'no_resolve'} |
56
|
0 |
26 |
unless defined $v |
57
|
0 |
26 |
if $v =~ /\{([^}]+)\}/ and not $options{'allow_partial'} |
74
|
0 |
7 |
if (exists $this->{'config'}{$key}) |
75
|
0 |
0 |
if $options{'ignore_existing'} |
76
|
0 |
0 |
unless $options{'allow_override'} |
84
|
0 |
0 |
$this->{'config'}{$key} ? : |
90
|
0 |
56 |
if exists $options{'with'}{$key} |
91
|
6 |
50 |
if exists $options{'base'} and $options{'base'}->exists($key) |
92
|
14 |
36 |
unless (exists $config->{$key}) |
93
|
0 |
14 |
unless $options{'allow_partial'} |
97
|
0 |
36 |
if $options{'no_resolve'} |
104
|
16 |
14 |
if defined $new_value |
113
|
0 |
2 |
if $^O eq "MSWin32" or $^O eq "cygwin" or $^O eq "msys" |
114
|
0 |
2 |
if $^O eq "MacOS" |
123
|
0 |
3 |
if $options{'no_resolve'} |
127
|
1 |
12 |
if $k =~ /^(.*)\.$os_name$/ |
136
|
0 |
0 |
unless exists $this->{'config'}{$k} |
145
|
6 |
2 |
if ($k =~ /^\Q$prefix\E\./) |