Branch Coverage

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


line true false branch
28 26 2 unless defined $params->{'loaded_config'}
33 1 49 if exists $params->{$cfg_key}
49 5 2 unless defined $params->{'config_prefix'}
64 14 1 unless defined $params->{'config_prefix_map_separator'}
65 7 8 unless defined $params->{'config_prefixes'}
86 15 1 unless defined $params->{'config_prefix_map'}
87 14 2 unless defined $params->{'config_extensions'}
103 16 1 unless defined $params->{'config_files_pattern'}
104 14 3 unless defined $params->{'config_dirs'}
105 1 16 unless ref $params->{'config_dirs'} eq 'ARRAY'
122 17 1 unless defined $params->{'config_files'}
123 1 17 unless @{$params->{'config_files'};}
143 12 1 unless defined $params->{'raw_loaded_config'}
144 1 12 unless @{$params->{'raw_loaded_config'};}
160 13 1 unless defined $params->{'sorted_loaded_config'}