line |
true |
false |
branch |
19
|
0 |
0 |
unless ref $coderef |
21
|
0 |
0 |
unless $cv->isa('B::CV') |
24
|
0 |
0 |
if $cv->GV->isa('B::SPECIAL') |
45
|
0 |
806 |
if (defined &{"${target}::$name";}) { } |
49
|
0 |
0 |
unless stash_name($code) eq 'Log::Contextual' |
88
|
29 |
1 |
unless $_[1] |
103
|
6 |
29 |
if $spec->config->{'default'} |
106
|
0 |
5 |
unless $_ =~ /^:(.*)$/ |
114
|
18 |
14 |
if ($exports->{'&set_logger'}) |
115
|
0 |
18 |
unless $router->does('Log::Contextual::Role::Router::SetLogger') |
123
|
10 |
22 |
if ($exports->{'&with_logger'}) |
124
|
0 |
10 |
unless $router->does('Log::Contextual::Role::Router::WithLogger') |
132
|
1 |
31 |
if ($exports->{'&has_logger'}) |
133
|
0 |
1 |
unless $router->does('Log::Contextual::Role::Router::HasLogger') |
146
|
158 |
23 |
if ($spec->config->{'log'} or $$exports{"&log_$level"}) |
158
|
157 |
24 |
if ($spec->config->{'log'} or $$exports{"&slog_$level"}) |
170
|
157 |
24 |
if ($spec->config->{'log'} or $$exports{"&logS_$level"}) |
182
|
157 |
24 |
if ($spec->config->{'log'} or $$exports{"&slogS_$level"}) |
194
|
37 |
144 |
if ($spec->config->{'dlog'} or $$exports{"&Dlog_$level"}) |
198
|
18 |
7 |
@_ ? : |
210
|
37 |
144 |
if ($spec->config->{'dlog'} or $$exports{"&Dslog_$level"}) |
214
|
6 |
0 |
@_ ? : |
225
|
37 |
144 |
if ($spec->config->{'dlog'} or $$exports{"&DlogS_$level"}) |
241
|
37 |
144 |
if ($spec->config->{'dlog'} or $$exports{"&DslogS_$level"}) |