Branch Coverage

blib/lib/Sentry/Hub.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
31 21 1 if $client
69 1 23 unless my $client = $self->client
72 23 0 if ($client->can($method)) { }
124 0 11 unless my $client = $self->client
128 0 11 unless ($client and $options->{'traces_sample_rate'})
135 0 11 if (defined $transaction->sampled)
146 0 11 if (defined $sampling_context->{'parent_sampled'}) { }
161 0 11 unless ($sample_rate)
177 0 11 unless ($transaction->sampled)