Branch Coverage

blib/lib/Config/ZOMG/Source/Loader.pm
Criterion Covered Total %
branch 30 36 83.3


line true false branch
66 10 9 if (defined(my $name = $self->name))
67 0 10 if (ref $name eq 'SCALAR') { }
77 1 18 if defined $self->env_lookup and ref $self->env_lookup ne 'ARRAY'
97 6 14 if (/$local_suffix\./ms) { }
106 0 18 $self->no_local ? :
111 11 1 $self->_found ? :
132 7 12 if ($self->path_is_file) { }
133 7 0 unless $self->no_env
144 4 8 if ($extension) { }
145 0 4 unless first sub { $_ eq $extension; } , @extensions
147 4 0 unless ($no_local)
154 8 0 unless $no_local
168 29 17 if $name
173 4 30 if defined $value
184 28 2 unless $self->no_env
194 11 7 if -d $path
204 11 1 unless $self->no_env
209 8 4 if (-d $path)