| blib/lib/Log/Log4perl/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 21 | 38 | 55.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 135 | 0 | 0 | 37 | @_ && ref $_[0] |
| line | l | !l | condition |
|---|---|---|---|
| 234 | 186 | 1395 | $format_for{$key}[2] || '' |
| 468 | 0 | 26 | $caller_depth ||= 0 |
| 492 | 0 | 24 | +(shift())->{'tod'} ||= [&$gtod()] |
| 502 | 2 | 4 | $data->{'tod'} ||= [&$gtod()] |
| 525 | 0 | 3 | $data->{'tod'} ||= [&$gtod()] |
| 619 | 0 | 3 | +(shift())->{'tod'} ||= [&$gtod()] |
| 628 | 2 | 1 | +(shift())->{'tod'} ||= [&$gtod()] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 183 | 61 | 26 | 0 | $_instance ||= "Log::Log4perl::Tiny"->new |
| 227 | 1 | 2 | 1 | !defined($_[5]) || $_[5] eq '%' |
| 298 | 0 | 0 | 0 | shift() || $_instance |
| 309 | 4 | 0 | 0 | $self->is_warn or $LOGDIE_MESSAGE_ON_STDERR |
| 334 | 1 | 0 | 0 | $self->is_fatal or $LOGDIE_MESSAGE_ON_STDERR |
| 374 | 10 | 0 | 0 | $emit_log or $LOGDIE_MESSAGE_ON_STDERR |
| 675 | 0 | 30 | 57 | $_[0]{'level'} == $DEAD or $$name > $_[0]{'level'} |