| line | % | coverage | condition |
| 325 | 50 | | Params::Get::get_params(undef, \@_) || {} |
| 328 | 100 | | $params->{'config_dirs'} //= $params->{'path'} |
| 330 | 100 | | not defined $params->{'config_dirs'} and $params->{'file'} |
| 335 | 67 | | $params->{'config_file'} and "File::Spec"->file_name_is_absolute($params->{'config_file'}) |
| 366 | 100 | | $params->{'env_prefix'} || 'APP_' |
| 374 | 0 | | $params->{'level'} and $self->{'logger'}->can("level") |
| 385 | 50 | | defined $self->{'config'} and scalar keys %{$$self{"config"};} |
| 411 | 67 | | $self->{'config_file'} and scalar @dirs > 1 |
| 422 | 100 | | length $dir and not -d $dir |
| 462 | 33 | | not defined $rc and $self->_load_driver("XML::PP") |
| 512 | 0 | | require File::Basename and "File::Basename"->import |
| 515 | 33 | | $ENV{'SCRIPT_NAME'} || $0 |
| 523 | 50 | | $config_file eq $script_name and length $dir == 0 || $dir eq 'File::Spec'->curdir |
| 528 | 67 | | -f $path and -r $path |
| 534 | 100 | | $data =~ /^\s*<\?xml/ or $data =~ m[</.+>] |
| 571 | 67 | | eval {
do {
$data = LoadFile($path)
}
} and ref $data eq "HASH" |
| 600 | 67 | | not $data or ref $data ne "HASH" |
| 611 | 33 | | not $data or ref $data ne "HASH" |
| 616 | 33 | | not $data or ref $data ne "HASH" |
| 635 | 33 | | not $data or ref $data ne "HASH" |
| 654 | 0 | | not $@ and $logger |
| 33 | | $data and ref $data eq "HASH" |
| 680 | 100 | | $ref->{$_} //= {} |
| 698 | 0 | | $ref->{$_} //= {} |
| 733 | 67 | | defined $ref and not $self->{'no_fixate'} |
| 791 | 50 | | $self->{'config'} && scalar keys %{$$self{'config'};} |
| 860 | 33 | | $section and $config->{$section} |
| 885 | 100 | | $imports // [] |
| 932 | 67 | | $self->{'data'} || $self->{'config'} |
| 944 | 67 | | ref $val eq "HASH" and exists $val->{$part} |