| line | % | coverage | condition |
| 339 | 50 | | Params::Get::get_params(undef, \@_) || {} |
| 342 | 100 | | $params->{'config_dirs'} //= $params->{'path'} |
| 344 | 33 | | $params->{'config_file'} //= $params->{'file'} |
| 347 | 67 | | $params->{'config_file'} and "File::Spec"->file_name_is_absolute($params->{'config_file'}) |
| 378 | 100 | | $params->{'env_prefix'} || 'APP_' |
| 391 | 0 | | $params->{'level'} and $self->{'logger'}->can("level") |
| 403 | 50 | | defined $self->{'config'} and scalar keys %{$$self{"config"};} |
| 443 | 100 | | $self->{'config_file'} and scalar @dirs > 1 |
| 454 | 100 | | length $dir and not -d $dir |
| 508 | 33 | | not defined $rc and $self->_load_driver("XML::PP") |
| 558 | 0 | | require File::Basename and "File::Basename"->import |
| 561 | 33 | | $ENV{'SCRIPT_NAME'} || $0 |
| 569 | 100 | | $config_file eq $script_name and length $dir == 0 || $dir eq 'File::Spec'->curdir |
| 574 | 67 | | -f $path and -r $path |
| 580 | 100 | | $data =~ /^\s*<\?xml/ or $data =~ m[</.+>] |
| 617 | 100 | | eval {
do {
$data = LoadFile($path)
}
} and ref $data eq "HASH" |
| 649 | 100 | | not $data or ref $data ne "HASH" |
| 660 | 67 | | not $data or ref $data ne "HASH" |
| 665 | 33 | | not $data or ref $data ne "HASH" |
| 684 | 33 | | not $data or ref $data ne "HASH" |
| 703 | 0 | | not $@ and $logger |
| 33 | | $data and ref $data eq "HASH" |
| 729 | 100 | | $ref->{$_} //= {} |
| 747 | 50 | | $ref->{$_} //= {} |
| 783 | 100 | | defined $ref and ref $ref eq "HASH" and not $self->{'no_fixate'} |
| 941 | 100 | | $section and exists $config->{$section} |
| 970 | 100 | | $imports // [] |
| 1017 | 67 | | $self->{'data'} || $self->{'config'} |
| 1029 | 67 | | ref $val eq "HASH" and exists $val->{$part} |