Branch Coverage

blib/lib/Async/Redis/Telemetry.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
111 0 0 unless @cmd
116 0 0 if (my $redactor = $REDACT_RULES{$name})
127 0 0 unless @cmd
131 0 0 unless $include_args
135 0 0 if ($redact and my $redactor = $REDACT_RULES{$name})
173 0 0 unless $self->{'meter'}
174 0 0 if $self->{'_metrics_initialized'}
224 0 0 if ($self->{'tracer'})
259 0 0 unless $context
267 0 0 if ($context->{'span'})
268 0 0 if ($error)
284 0 0 if ($self->{'_commands_counter'})
288 0 0 if ($self->{'_commands_histogram'})
292 0 0 if ($error and $self->{'_errors_counter'})
305 0 0 if ($self->{'_pipeline_histogram'})
309 0 0 if ($self->{'_commands_histogram'})
320 0 0 if ($self->{'_connections_gauge'})
331 0 0 if ($self->{'_reconnects_counter'})
343 0 0 unless $self->{'debug'}
347 0 0 if (ref $self->{'debug'} eq 'CODE') { }
358 0 0 unless $self->{'debug'}
363 0 0 if (ref $self->{'debug'} eq 'CODE') { }
374 0 0 unless $self->{'debug'}
378 0 0 if (ref $self->{'debug'} eq 'CODE') { }
389 0 0 unless $self->{'debug'}
391 0 0 $details ? :
393 0 0 if (ref $self->{'debug'} eq 'CODE') { }
405 0 0 unless defined $result
407 0 0 if (ref $result eq 'ARRAY') { }
0 0 elsif (ref $result eq 'HASH') { }
0 0 elsif (ref $result and $result->can('message')) { }
0 0 elsif (length $result > 100) { }
421 0 0 if $result eq "OK"
422 0 0 if $result eq "PONG"
423 0 0 if $result eq "QUEUED"
424 0 0 if $result =~ /^-?\d+$/u