| blib/lib/CGI/Application/Plugin/Config/Any.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 31 | 51.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 169 | 0 | 3 | 0 | $param and $param =~ /^(.*)\.(.*)$/ |
| 437 | 0 | 2 | 0 | $$self{$prefix . 'CONFIG_FILES'} and ref $$self{$prefix . 'CONFIG_FILES'} ne 'ARRAY' |
| 487 | 3 | 1 | 1 | $args{'section'} and not $args{'param'} |
| 504 | 1 | 0 | 0 | $args{'section'} and $config{$args{'section'}} |
| 1 | 0 | 0 | $args{'section'} and $config{$args{'section'}} and $config{$args{'section'}}{$args{'param'}} |
| line | l | !l | condition |
|---|---|---|---|
| 161 | 2 | 1 | $$self{$prefix . 'CONFIG_NAME'} || 'default' |
| 262 | 1 | 0 | $self->param('config_names') || {} |
| 1 | 0 | $self->param('config_dir') || undef | |
| 1 | 0 | $self->param('config_files') || [] | |
| 1 | 0 | $self->param('config_params') || {} | |
| 0 | 1 | $self->param('config_name') || 'default' | |
| 400 | 4 | 1 | $$self{$prefix . 'CONFIG_NAME'} || 'default' |
| 618 | 0 | 0 | $sub ||= '-' |