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') |
37
|
0 |
806 |
if (defined &{"${target}::$name";}) { } |
41
|
0 |
0 |
unless stash_name($code) eq 'Log::Contextual' |
80
|
29 |
1 |
unless $_[1] |
95
|
6 |
29 |
if $spec->config->{'default'} |
98
|
0 |
5 |
unless $_ =~ /^:(.*)$/ |
106
|
18 |
14 |
if ($exports->{'&set_logger'}) |
107
|
0 |
18 |
unless $router->does('Log::Contextual::Role::Router::SetLogger') |
115
|
10 |
22 |
if ($exports->{'&with_logger'}) |
116
|
0 |
10 |
unless $router->does('Log::Contextual::Role::Router::WithLogger') |
124
|
1 |
31 |
if ($exports->{'&has_logger'}) |
125
|
0 |
1 |
unless $router->does('Log::Contextual::Role::Router::HasLogger') |
138
|
158 |
23 |
if ($spec->config->{'log'} or $$exports{"&log_$level"}) |
150
|
157 |
24 |
if ($spec->config->{'log'} or $$exports{"&slog_$level"}) |
162
|
157 |
24 |
if ($spec->config->{'log'} or $$exports{"&logS_$level"}) |
174
|
157 |
24 |
if ($spec->config->{'log'} or $$exports{"&slogS_$level"}) |
186
|
37 |
144 |
if ($spec->config->{'dlog'} or $$exports{"&Dlog_$level"}) |
190
|
18 |
7 |
@_ ? : |
202
|
37 |
144 |
if ($spec->config->{'dlog'} or $$exports{"&Dslog_$level"}) |
206
|
6 |
0 |
@_ ? : |
217
|
37 |
144 |
if ($spec->config->{'dlog'} or $$exports{"&DlogS_$level"}) |
233
|
37 |
144 |
if ($spec->config->{'dlog'} or $$exports{"&DslogS_$level"}) |