| blib/lib/Log/Any/Adapter/JSON.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 16 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 27 | 0 | 9 | 0 | $ref and $ref ne 'GLOB' |
| 80 | 2 | 12 | 8 | not $self->{'without_formatting'} and my $num_tokens = () = $string =~ /%s|%d/g |
| 145 | 0 | 9 | 0 | $self->{'log_level'} and $self->{'log_level'} =~ /\D/ |
| line | l | !l | condition |
|---|---|---|---|
| 39 | 0 | 9 | delete $args{'encoding'} || 'UTF-8' |
| 70 | 22 | 0 | $float ||= '.' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 43 | 0 | 9 | 0 | $args{'log_level'} //= $trace_level |