| line |
true |
false |
branch |
|
18
|
10 |
10 |
ref $_[0] eq 'HASH' ? : |
|
24
|
0 |
15 |
defined $opts->{'caller'} ? : |
|
|
5 |
15 |
defined $opts->{'target_package'} ? : |
|
27
|
0 |
20 |
unless $target_package =~ /$Regexp::Pattern::Perl::Module::RE{'perl_modname'}{'pat'}/ |
|
30
|
7 |
13 |
if (ref $module_with_optional_args eq 'ARRAY') { } |
|
|
0 |
13 |
elsif (ref $module_with_optional_args) { } |
|
|
8 |
5 |
elsif ($module_with_optional_args =~ /(.+?)=(.*)/) { } |
|
31
|
1 |
6 |
unless @$module_with_optional_args == 1 or @$module_with_optional_args == 2 |
|
35
|
3 |
3 |
if ref $args eq "HASH" |
|
36
|
1 |
5 |
unless ref $args eq "ARRAY" |
|
50
|
1 |
16 |
defined $opts->{'ns_prefix'} ? : |
|
|
1 |
17 |
$opts->{'ns_prefixes'} ? : |
|
51
|
1 |
17 |
$opts->{'ns_prefixes'} ? : |
|
55
|
3 |
16 |
if (length $ns_prefix) { } |
|
56
|
0 |
3 |
$ns_prefix =~ /::\z/ ? : |
|
62
|
17 |
2 |
if ($opts->{'load'} // 1) |
|
64
|
2 |
15 |
if ($try_all) { } |
|
65
|
1 |
1 |
unless $@ |
|
66
|
0 |
1 |
unless $@ =~ /\ACan't locate/ |
|
72
|
0 |
14 |
if ($@) |
|
77
|
5 |
9 |
defined $opts->{'import'} ? : |
|
78
|
9 |
5 |
if ($do_import) |
|
80
|
1 |
8 |
if $@ |
|
87
|
3 |
1 |
ref $_[0] eq 'HASH' ? : |
|
96
|
1 |
3 |
defined $opts->{'construct'} ? : |
|
97
|
3 |
1 |
if ($do_construct) { } |
|
99
|
1 |
2 |
defined $opts->{'constructor'} ? : |