| blib/lib/Sentry/SDK.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 19 | 89.4 |
| line | l | !l | condition |
|---|---|---|---|
| 30 | 3 | 14 | $options->{'default_integrations'} //= [] |
| 35 | 3 | 14 | $options->{'_metadata'} //= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 31 | 15 | 1 | 1 | $options->{'dsn'} //= $ENV{'SENTRY_DSN'} |
| 32 | 16 | 1 | 0 | $options->{'traces_sample_rate'} //= $ENV{'SENTRY_TRACES_SAMPLE_RATE'} |
| 33 | 4 | 1 | 12 | $options->{'release'} //= $ENV{'SENTRY_RELEASE'} |
| 34 | 4 | 1 | 12 | $options->{'environment'} //= $ENV{'SENTRY_ENVIRONMENT'} |
| 39 | 4 | 0 | 13 | $options->{'debug'} // $ENV{'SENTRY_DEBUG'} |