line |
true |
false |
branch |
38
|
1 |
0 |
if (-f $filepath) { } |
67
|
6 |
27 |
if (/
^ [[:space:]]{0,} [#]{1}
[[:space:]]{1,} envdot [[:space:]]{1,}
[(] (? [^)]{0,}) [)]
[[:space:]]{0,} $
/msx) { } |
|
5 |
22 |
elsif (/
^ [[:space:]]{0,} [#]{1} .* $
/msx) { } |
|
4 |
18 |
elsif (/
^ [[:space:]]{0,} $
/msx) { } |
|
18 |
0 |
elsif (/
^ (? [^=]{1,}) = (? .*) $
/msx) { } |
111
|
11 |
7 |
if ($options{'file:type'} eq 'shell') { } |
|
7 |
0 |
elsif ($options{'file:type'} eq 'plain') { } |
112
|
6 |
5 |
if ($value =~ /
^
['"]{1} (? .*) ["']{1} # Get value from between quotes
(?: [;] [[:space:]]{0,} export [[:space:]]{1,} $name)? # optional
[[:space:]]{0,} # optional whitespace at the end
$
/msx) |
126
|
1 |
10 |
if ($name =~ /^ [[:space:]]{0,} export [[:space:]]{1,} /msx) |
152
|
0 |
6 |
unless (exists $DOTENV_OPTIONS{$key}) |
169
|
0 |
17 |
if $val eq "true" or $val eq "True" |
170
|
0 |
17 |
if $val eq "false" or $val eq "False" |
178
|
0 |
1 |
unless open my $fh, "<", $filepath |
181
|
0 |
1 |
unless close $fh |