Branch Coverage

blib/lib/MooX/ConfigFromFile/Role.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
28 13 2 unless defined $params->{'loaded_config'}
33 1 27 if exists $params->{$cfg_key}
49 5 1 unless defined $params->{'config_prefix'}
64 6 1 unless defined $params->{'config_prefix_map_separator'}
65 6 1 unless defined $params->{'config_prefixes'}
86 7 1 unless defined $params->{'config_prefix_map'}
87 7 1 unless defined $params->{'config_extensions'}
103 8 1 unless defined $params->{'config_files_pattern'}
104 7 2 unless defined $params->{'config_dirs'}
105 1 8 unless ref $params->{'config_dirs'} eq 'ARRAY'
122 9 1 unless defined $params->{'config_files'}
123 1 9 unless @{$params->{'config_files'};}
146 10 1 unless defined $params->{'raw_loaded_config'}