| blib/lib/CTK/App.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 34 | 26.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 345 | 2 | 0 | 0 | $self->logmode and not $args->{'no_logger_init'} |
| 2 | 0 | 0 | $self->logmode and not $args->{'no_logger_init'} and $log_on | |
| 349 | 0 | 0 | 0 | defined $logfile and length $logfile |
| 407 | 0 | 0 | 0 | $handlers and ref $handlers eq 'HASH' |
| line | l | !l | condition |
|---|---|---|---|
| 344 | 1 | 1 | $config->get('logenable') || $config->get('logenabled') || 0 |
| 346 | 0 | 0 | $args->{'logopts'} || {} |
| 373 | 0 | 0 | ($info{'handler'} // $info{'name'}) // '' |
| 379 | 5 | 0 | $info{'description'} //= '' |
| 380 | 0 | 4 | $info{'parameters'} || $info{'params'} || {} |
| 384 | 5 | 0 | $info{'code'} || sub { return 1; } |
| 398 | 3 | 0 | ref $self || scalar caller 0 |
| 405 | 0 | 0 | ref $self || scalar caller 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 352 | 0 | 0 | 0 | $config->get('logident') // $self->project |
| 373 | 5 | 0 | 0 | $info{'handler'} // $info{'name'} |