Condition Coverage

blib/lib/Sentry/Client.pm
Criterion Covered Total %
condition 27 44 61.3


and 3 conditions

line !l l&&!r l&&r condition
39 5 0 9 $hint && $hint->{'event_id'}
77 0 0 2 $hint && $hint->{'event_id'}

or 2 conditions

line l !l condition
58 11 2 $hint // {}
136 0 27 $options->{'max_value_length'} // 250
138 0 27 $options->{'environment'} // "production"
153 20 7 $event->{'sdk'} //= {}
179 11 6 $hint // {}
188 21 6 $hint // {}
211 21 6 $hint // {}

or 3 conditions

line l !l&&r !l&&!r condition
77 0 2 0 $hint && $hint->{'level'} || 'Sentry::Severity'->Error
138 0 27 0 $event->{'environment'} //= $options->{'environment'} // "production"
139 0 0 27 $event->{'dist'} //= $options->{'dist'}
140 0 0 0 $event->{'release'} //= $options->{'release'}
179 10 10 7 $event->{'event_id'} // +($hint // {})->{'event_id'}
10 7 0 ($event->{'event_id'} // +($hint // {})->{'event_id'}) // uuid4()
10 17 0 $event->{'timestamp'} // time
209 2 25 0 $self->_options->{'before_send'} // sub ($event, $hint) {