| blib/lib/CTK/App.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 31 | 38.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 341 | 1 | 0 | 1 | $log_on and not $args->{'no_logger_init'} |
| 345 | 1 | 0 | 0 | defined $logfile and length $logfile |
| 403 | 0 | 0 | 0 | $handlers and ref $handlers eq "HASH" |
| line | l | !l | condition |
|---|---|---|---|
| 340 | 1 | 1 | lvalue($config->get('logenable')) || lvalue($config->get('logenabled')) || 0 |
| 342 | 0 | 1 | $args->{'logopts'} || {} |
| 369 | 0 | 0 | ($info{'handler'} // $info{'name'}) // "" |
| 375 | 5 | 0 | $info{'description'} //= "" |
| 376 | 0 | 4 | $info{'parameters'} || $info{'params'} || {} |
| 380 | 5 | 0 | $info{'code'} || sub { return 1; } |
| 394 | 3 | 0 | ref $self || scalar caller 0 |
| 401 | 0 | 0 | ref $self || scalar caller 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 348 | 0 | 1 | 0 | lvalue($config->get("logident")) // $self->project |
| 369 | 5 | 0 | 0 | $info{'handler'} // $info{'name'} |