Branch Coverage

blib/lib/Config/JFDI/Source/Loader.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
44 16 7 if (defined(my $name = $self->name))
45 0 16 if (ref $name eq 'SCALAR') { }
55 23 0 if (defined $self->env_lookup)
56 1 22 unless ref $self->env_lookup eq 'ARRAY'
77 8 25 if (/$local_suffix\./ms) { }
86 0 29 $self->no_local ? :
111 10 19 if ($self->path_is_file) { }
113 10 0 unless $self->no_env
124 4 15 if ($extension) { }
125 0 4 unless &any(sub { $_ eq $extension; } , @extensions)
127 4 0 unless ($no_local)
134 15 0 unless $no_local
148 51 23 if $name
153 4 52 if defined $value
164 46 2 unless $self->no_env
177 18 7 if -d $path
188 18 1 unless $self->no_env
193 15 4 if (-d $path)