Branch Coverage

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


line true false branch
112 0 242 unless defined $location
119 0 242 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 4700 140 unless -r $path
141 2 138 -r $local ? :
157 0 139 if $ENV{'DANCER_CONFIG_VERBOSE'}
211 346 144 scalar @args == 1 ? :
228 138 0 if defined $tmpconfig
230 1 138 if (my $err = $@ || !$config)
262 242 2258 if exists $_normalizers->{$name}
271 88 61 exists $self->local_triggers->{$name} ? :
273 57 92 unless defined $trigger