Branch Coverage

blib/lib/CTK/App.pm
Criterion Covered Total %
branch 17 44 38.6


line true false branch
340 0 2 unless $status
345 0 0 if ($self->logmode and not $args->{'no_logger_init'} and $log_on)
347 0 0 defined $args->{'logfile'} ? :
348 0 0 if defined $args->{'logfacility'}
349 0 0 if defined $logfile and length $logfile
352 0 0 defined $args->{'ident'} ? :
355 0 0 defined $args->{'loglevel'} ? :
356 0 0 unless ($self->logger_init(%$logopts))
367 1 4 if ref $class
369 1 4 unless exists $handler_registry{$class}
374 0 5 unless length $name
378 0 5 if defined $handlers->{$name}
382 0 5 unless ref $params eq 'HASH'
385 5 0 if (ref $code eq 'CODE') { }
397 0 3 unless $name
400 0 3 unless $handlers
407 0 0 unless $handlers and ref $handlers eq 'HASH'
417 0 4 unless defined $k
418 1 3 if ($k eq 'code')
424 0 1 unless (ref $func eq 'CODE')
435 0 1 unless ($name)
439 0 1 unless (my $handler = $self->lookup_handler($name))