Condition Coverage

blib/lib/Datahub/Factory.pm
Criterion Covered Total %
condition 0 6 0.0


or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 0 $loaded_env ||= 'Datahub::Factory::Env'->new('load_paths', $class->default_load_path)
60 0 0 0 $default_path //= do { my $script = 'File::Spec'->rel2abs($0); my($script_vol, $script_path, $script_name) = 'File::Spec'->splitpath($script); my(@dirs) = grep(length($_), 'File::Spec'->splitdir($script_path)); if ($dirs[-1] eq 'bin') { pop @dirs; 'File::Spec'->catdir('File::Spec'->rootdir, @dirs); } else { $script_path; } }