line |
true |
false |
branch |
17
|
0 |
2105 |
unless $UR::initialized |
18
|
0 |
2105 |
unless &$Class::Autouse::ORIGINAL_CAN('UR::Object::Type', 'get') |
22
|
1729 |
376 |
if (defined $func and $func eq 'class' and @params > 1 and $class ne 'UR::Object::Type') { } |
24
|
1729 |
0 |
if (@params == 2 and ref $params[1] eq 'HASH') { } |
|
0 |
0 |
elsif (@params == 2 and ref $params[1] eq 'ARRAY') { } |
34
|
0 |
1703 |
unless ($class_meta) |
48
|
0 |
17263 |
unless $UR::initialized |
49
|
0 |
17263 |
unless &$Class::Autouse::ORIGINAL_CAN('UR::Object::Type', 'get') |
57
|
3016 |
14247 |
unless $namespace |
59
|
10034 |
4213 |
unless ($namespace->isa('UR::Namespace')) |
63
|
0 |
4213 |
unless ($namespace->should_dynamically_load_class($package)) |
75
|
6525 |
3492 |
unless my $namespace = _should_dynamically_load_package($class) |
77
|
58 |
1 |
if (defined $func and $func eq 'class' and @params > 1 and $class ne 'UR::Object::Type') |
82
|
1 |
3433 |
if $loading{$class} |
88
|
662 |
2771 |
unless ($meta) |
94
|
0 |
2771 |
unless ($meta->generated) |
98
|
0 |
0 |
unless ($meta->generate) |
106
|
940 |
1831 |
if (defined $func) |
108
|
1 |
939 |
unless ($fref) |
120
|
6525 |
721 |
unless _should_dynamically_load_package($role_name) |
122
|
4 |
717 |
if $loading{$role_name} |
127
|
1 |
716 |
if ('UR::Role::Prototype'->is_loaded($role_name) and $role_name->can($func)) |
134
|
7 |
709 |
if (UR::Util::use_package_optimistically($role_name)) |
135
|
0 |
7 |
if ('UR::Role::Prototype'->is_loaded($role_name) and $role_name->can($func)) |