blib/lib/Sentry/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 40 | 62.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
38 | 5 | 0 | 8 | $hint && $hint->{'event_id'} |
87 | 0 | 0 | 1 | $hint && $hint->{'event_id'} |
line | l | !l | condition |
---|---|---|---|
57 | 8 | 0 | $hint // {} |
146 | 0 | 20 | $options->{'max_value_length'} // 250 |
148 | 0 | 20 | $options->{'environment'} // "production" |
163 | 16 | 4 | $event->{'sdk'} //= {} |
189 | 8 | 4 | $hint // {} |
198 | 16 | 4 | $hint // {} |
218 | 8 | 12 | $event->{'type'} // "" |
220 | 2 | 18 | $self->_options->{'before_send'} // sub ($event) { |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
148 | 0 | 20 | 0 | $event->{'environment'} //= $options->{'environment'} // "production" |
149 | 0 | 0 | 20 | $event->{'dist'} //= $options->{'dist'} |
150 | 0 | 0 | 0 | $event->{'release'} //= $options->{'release'} |
189 | 8 | 8 | 4 | $event->{'event_id'} // +($hint // {})->{'event_id'} |
8 | 4 | 0 | ($event->{'event_id'} // +($hint // {})->{'event_id'}) // uuid4() | |
8 | 12 | 0 | $event->{'timestamp'} // time |