Branch Coverage

blib/lib/Dancer2/Core/Role/ConfigReader.pm
Criterion Covered Total %
branch 18 26 69.2


line true false branch
112 0 243 unless defined $location
119 0 243 if (my $ext = $ENV{'DANCER_CONFIG_EXT'})
120 0 0 if (grep {$ext eq $_;} @available_exts) { }
123 0 0 if $ENV{'DANCER_CONFIG_VERBOSE'}
137 4719 141 unless -r $path
141 2 139 -r $local ? :
157 0 140 if $ENV{'DANCER_CONFIG_VERBOSE'}
211 353 146 scalar @args == 1 ? :
228 139 0 if defined $tmpconfig
230 1 139 if (my $err = $@ || !$config)
262 243 2270 if exists $_normalizers->{$name}
271 89 62 exists $self->local_triggers->{$name} ? :
273 58 93 unless defined $trigger