| line | % | coverage | condition |
| 326 | 50 | | Params::Get::get_params(undef, \@_) || {} |
| 329 | 100 | | $$params{"config_dirs"} //= $$params{"path"} |
| 331 | 100 | | not defined $$params{"config_dirs"} and $$params{"file"} |
| 336 | 67 | | $$params{"config_file"} and "File::Spec"->file_name_is_absolute($$params{"config_file"}) |
| 367 | 100 | | $$params{'env_prefix'} || 'APP_' |
| 375 | 0 | | $$params{"level"} and $$self{"logger"}->can("level") |
| 386 | 50 | | defined $$self{"config"} and scalar keys %{$$self{"config"};} |
| 412 | 67 | | $$self{"config_file"} and scalar @dirs > 1 |
| 423 | 100 | | length $dir and not -d $dir |
| 463 | 33 | | not defined $rc and $self->_load_driver("XML::PP") |
| 513 | 0 | | require File::Basename and "File::Basename"->import |
| 516 | 33 | | $ENV{'SCRIPT_NAME'} || $0 |
| 524 | 50 | | $config_file eq $script_name and length $dir == 0 || $dir eq 'File::Spec'->curdir |
| 529 | 67 | | -f $path and -r $path |
| 535 | 100 | | $data =~ /^\s*<\?xml/ or $data =~ m[</.+>] |
| 572 | 67 | | eval {
do {
$data = LoadFile($path)
}
} and ref $data eq "HASH" |
| 601 | 67 | | not $data or ref $data ne "HASH" |
| 612 | 33 | | not $data or ref $data ne "HASH" |
| 617 | 33 | | not $data or ref $data ne "HASH" |
| 636 | 33 | | not $data or ref $data ne "HASH" |
| 655 | 0 | | not $@ and $logger |
| 33 | | $data and ref $data eq "HASH" |
| 681 | 100 | | $$ref{$_} //= {} |
| 699 | 0 | | $$ref{$_} //= {} |
| 734 | 67 | | defined $ref and not $$self{"no_fixate"} |
| 780 | 50 | | $$self{'config'} && scalar keys %{$$self{'config'};} |
| 849 | 33 | | $section and $$config{$section} |
| 874 | 100 | | $imports // [] |
| 921 | 67 | | $$self{'data'} || $$self{'config'} |
| 933 | 67 | | ref $val eq "HASH" and exists $val->{$part} |