| blib/lib/Log/Handler.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 26 | 42.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 1323 | 0 | 32 | 0 | $args[0] and $args[0] eq 'config' |
| 1458 | 6 | 0 | 2 | not exists $reloaded{$alias} and $output->{'remove_on_reload'} |
| 1499 | 0 | 0 | 3 | defined $name and $name =~ /^[%\w\-\.]+\z/ |
| 1591 | 0 | 0 | 0 | $output and UNIVERSAL::can($output, 'flush') |
| 1965 | 65 | 35 | 168 | defined $p and length $p |
| 2050 | 0 | 0 | 1 | defined $filter{'condition'} and $filter{'condition'} =~ /\w/ |
| line | l | !l | condition |
|---|---|---|---|
| 1737 | 38 | 0 | shift() || {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 1486 | 0 | 3 | 0 | @_ == 3 or @_ == 4 |
| 1528 | 4 | 0 | 0 | defined $new->{'minlevel'} or defined $new->{'maxlevel'} |