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