| blib/lib/Log/Log4perl/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 21 | 38 | 55.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 137 | 0 | 0 | 39 | @_ && ref $_[0] |
| line | l | !l | condition |
|---|---|---|---|
| 243 | 190 | 1425 | $format_for{$key}[2] || '' |
| 479 | 0 | 27 | $caller_depth ||= 0 |
| 503 | 0 | 27 | +(shift())->{'tod'} ||= [&$gtod()] |
| 513 | 2 | 4 | $data->{'tod'} ||= [&$gtod()] |
| 536 | 0 | 3 | $data->{'tod'} ||= [&$gtod()] |
| 630 | 0 | 3 | +(shift())->{'tod'} ||= [&$gtod()] |
| 639 | 2 | 1 | +(shift())->{'tod'} ||= [&$gtod()] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 185 | 66 | 27 | 0 | $_instance ||= "Log::Log4perl::Tiny"->new |
| 236 | 1 | 2 | 1 | !defined($_[5]) || $_[5] eq '%' |
| 309 | 0 | 0 | 0 | shift() || $_instance |
| 320 | 4 | 0 | 0 | $self->is_warn or $LOGDIE_MESSAGE_ON_STDERR |
| 345 | 1 | 0 | 0 | $self->is_fatal or $LOGDIE_MESSAGE_ON_STDERR |
| 385 | 10 | 0 | 0 | $emit_log or $LOGDIE_MESSAGE_ON_STDERR |
| 686 | 0 | 30 | 57 | $_[0]{'level'} == $DEAD or $$name > $_[0]{'level'} |