Branch Coverage

blib/lib/Config/ROFL.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
34 0 0 if $ENV{'CONFIG_ROFL_RELATIVE_DIR'}
37 0 0 if (my $path = $INC{$pm})
57 8 0 if ($config->found) { }
64 9 0 $rel_path =~ /^\.\./ ? :
66 8 0 if $ENV{'CONFIG_ROFL_DEBUG'}
84 2 5 if $ENV{'CONFIG_ROFL_CONFIG_PATH'}
86 1 4 if (&List::Util::first(sub { -e $_; } , glob(path($self->global_path, $self->name) . ".{conf,yml,yaml,json,ini}")))
97 0 4 unless $path
107 12 0 if defined $_ and not &readonly($_)
129 3 0 if $path->exists
136 0 1 unless $self->dist
138 0 1 unless eval { do { $path = File::Share::dist_dir($self->dist) } }
147 0 0 unless eval { do { $path = File::Share::dist_dir(ref $self) } }
155 9 14 unless $Config::ROFL::a->{$b}