Branch Coverage

blib/lib/CTK/App.pm
Criterion Covered Total %
branch 26 46 56.5


line true false branch
336 0 2 unless $status
341 1 1 if ($log_on and not $args->{'no_logger_init'})
343 0 1 defined $args->{'logfile'} ? :
344 0 1 if defined $args->{'logfacility'}
345 0 1 if defined $logfile and length $logfile
348 0 1 defined $args->{'ident'} ? :
351 0 1 defined $args->{'loglevel'} ? :
352 0 1 unless ($self->logger_init(%$logopts))
363 1 4 if ref $class
365 1 4 unless exists $handler_registry{$class}
370 0 5 unless length $name
374 0 5 if defined $handlers->{$name}
378 0 5 unless ref $params eq "HASH"
381 5 0 if (ref $code eq 'CODE') { }
393 0 3 unless $name
396 0 3 unless $handlers
403 0 0 unless $handlers and ref $handlers eq "HASH"
413 0 4 unless defined $k
414 1 3 if ($k eq "code")
420 0 1 unless (ref $func eq "CODE")
431 0 1 unless ($name)
435 0 1 unless (my $handler = $self->lookup_handler($name))
439 0 1 unless $self->status