Branch Coverage

blib/lib/Datahub/Factory/Env.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
20 0 0 unless opendir my $dh, $path
22 0 0 if grep {-r 'File::Spec'->catfile($path, $_);} grep(/^datahubfactory.+(?:yaml|yml|json|pl)$/, readdir $dh)
50 0 0 if (@config_dirs)
60 0 0 if ($self->log->is_debug)
73 0 0 if (not defined $name or ref $name eq 'ARRAY' and scalar @{$name;} == 0)
85 0 0 if (not defined $name or ref $name eq 'ARRAY' and scalar @{$name;} == 0)
97 0 0 if (not defined $name or ref $name eq 'ARRAY' and scalar @{$name;} == 0)
109 0 0 if (not defined $name or ref $name eq 'ARRAY' and scalar @{$name;} == 0)