| line |
true |
false |
branch |
|
18
|
0 |
8 |
if $options{'file'} |
|
22
|
8 |
0 |
unless $options{'no_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'} |
|
36
|
1 |
1 |
unless $options{'no_resolve'} |
|
59
|
0 |
0 |
if not $this->exists($key) and exists $options{'default'} |
|
60
|
0 |
27 |
if $options{'no_resolve'} |
|
62
|
0 |
27 |
unless defined $v |
|
63
|
0 |
27 |
if $v =~ /\{([^}]+)\}/ and not $options{'allow_partial'} |
|
80
|
0 |
9 |
if (exists $this->{'config'}{$key}) |
|
81
|
0 |
0 |
if $options{'ignore_existing'} |
|
82
|
0 |
0 |
unless $options{'allow_override'} |
|
90
|
0 |
0 |
if ($this->{'config'}{$key}) { } |
|
100
|
0 |
57 |
if exists $options{'with'}{$key} |
|
101
|
20 |
37 |
unless (exists $config->{$key}) |
|
102
|
6 |
14 |
if exists $options{'base'} and $options{'base'}->exists($key) |
|
103
|
0 |
14 |
unless $options{'allow_partial'} |
|
107
|
0 |
37 |
if $options{'no_resolve'} |
|
114
|
16 |
14 |
if defined $new_value |
|
123
|
0 |
10 |
if $^O eq "MSWin32" or $^O eq "cygwin" or $^O eq "msys" |
|
124
|
0 |
10 |
if $^O eq "MacOS" |
|
139
|
1 |
16 |
if $k =~ /^(.*)\.$os_name$/ |
|
148
|
0 |
0 |
if $options{'allow_override'} or not exists $this->{'config'}{$k} |
|
157
|
7 |
3 |
if ($k =~ /^\Q$prefix\E\./) |