line |
true |
false |
branch |
62
|
6 |
5 |
if ($rule->specifies_value_for('namespace_name')) { } |
68
|
1 |
4 |
unless ($namespace_name) |
77
|
0 |
10 |
if $rule->value_for('verbose') |
87
|
0 |
10 |
unless -d $path |
89
|
10 |
0 |
if defined $compiled |
94
|
0 |
10 |
unless -d $path |
96
|
10 |
0 |
if defined $perl5lib |
107
|
0 |
45 |
unless defined $inc |
108
|
10 |
35 |
if $inc eq $compiled or $inc eq $perl5lib |
112
|
0 |
10 |
if ($@) |
118
|
0 |
10 |
unless $self |
120
|
0 |
10 |
unless (eval {
do {
'UR::Namespace'->get($namespace_name)
}
}) |
125
|
0 |
10 |
if ($namespace_name->can('_set_context_for_schema_updates')) |
134
|
0 |
1 |
if $class eq 'UR::Namespace::Command::Base' |
153
|
44 |
550 |
if (-f $_ and /\.pm$/) |
157
|
2 |
2 |
if (@_) { } |
172
|
4 |
3 |
if ($name =~ /::/) |
175
|
0 |
4 |
unless ($self->namespace_name eq $name_parts[0]) |
185
|
5 |
11 |
if (-e $check_name) |
186
|
5 |
0 |
if (-f $check_name and $check_name =~ /\.pm$/) { } |
|
0 |
0 |
elsif (-d $check_name) { } |
|
0 |
0 |
elsif (-e $check_name) { } |
220
|
0 |
23 |
unless UR::Util::is_valid_class_name($class) |
232
|
0 |
1 |
unless ('UR::Object::Type'->use_module_with_namespace_constraints($class_name)) |
239
|
0 |
1 |
unless ($c) |
265
|
4 |
32 |
if (-e $namespace_module_path) |
266
|
4 |
0 |
if ($class->_is_file_the_namespace_module($namespace_name, $namespace_module_path)) |
267
|
4 |
0 |
if (wantarray) { } |
285
|
0 |
11 |
unless $fh |
287
|
11 |
27 |
if ($line =~ /package\s+$namespace_name\s*;/) |
302
|
0 |
7 |
unless ($namespace_name) |
308
|
0 |
7 |
if defined $resolved_ns_name and $resolved_ns_name eq $namespace_name |
313
|
7 |
0 |
if ($class->_is_file_the_namespace_module($namespace_name, $expected_namespace_module)) |