Branch Coverage

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


line true false branch
112 0 240 unless defined $location
119 0 240 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 4660 140 unless -r $path
141 2 138 -r $local ? :
157 0 139 if $ENV{'DANCER_CONFIG_VERBOSE'}
211 344 142 scalar @args == 1 ? :
228 138 0 if defined $tmpconfig
230 1 138 if (my $err = $@ || !$config)
262 240 2240 if exists $_normalizers->{$name}
271 87 60 exists $self->local_triggers->{$name} ? :
273 56 91 unless defined $trigger