Branch Coverage

blib/lib/Async/Redis/Telemetry.pm
Criterion Covered Total %
branch 5 72 6.9


line true false branch
109 0 0 unless @cmd
114 0 0 if (my $redactor = $REDACT_RULES{$name})
125 0 3 unless @cmd
129 1 2 unless $include_args
133 1 1 if ($redact and my $redactor = $REDACT_RULES{$name})
171 0 0 unless $self->{'meter'}
172 0 0 if $self->{'_metrics_initialized'}
222 0 0 if ($self->{'tracer'})
257 0 0 unless $context
265 0 0 if ($context->{'span'})
266 0 0 if ($error)
282 0 0 if ($self->{'_commands_counter'})
286 0 0 if ($self->{'_commands_histogram'})
290 0 0 if ($error and $self->{'_errors_counter'})
303 0 0 if ($self->{'_pipeline_histogram'})
307 0 0 if ($self->{'_commands_histogram'})
318 0 0 if ($self->{'_connections_gauge'})
329 0 0 if ($self->{'_reconnects_counter'})
341 0 0 unless $self->{'debug'}
345 0 0 if (ref $self->{'debug'} eq 'CODE') { }
356 0 0 unless $self->{'debug'}
361 0 0 if (ref $self->{'debug'} eq 'CODE') { }
372 0 0 unless $self->{'debug'}
376 0 0 if (ref $self->{'debug'} eq 'CODE') { }
387 0 0 unless $self->{'debug'}
389 0 0 $details ? :
391 0 0 if (ref $self->{'debug'} eq 'CODE') { }
403 0 0 unless defined $result
405 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) { }
419 0 0 if $result eq "OK"
420 0 0 if $result eq "PONG"
421 0 0 if $result eq "QUEUED"
422 0 0 if $result =~ /^-?\d+$/u