Branch Coverage

blib/lib/Bot/Cobalt/Core.pm
Criterion Covered Total %
branch 2 28 7.1


line true false branch
59 0 1 if (my $log_format = $self->cfg->core->opts->{'LogFormat'})
62 0 1 if (my $log_time_fmt = $self->cfg->core->opts->{'LogTimeFormat'})
212 0 0 unless defined $rpl
227 0 0 if ($self->detached) { }
229 0 0 unless open STDOUT, '>>', $logfile
230 0 0 unless open STDERR, '>>', $logfile
293 0 0 unless ($this_plug_cf->autoload)
301 0 0 unless ('Bot::Cobalt::Core::Loader'->is_reloadable($obj))
313 0 0 unless ($self->plugin_add($plugin, $obj))
337 0 0 if ($self->detached) { }
355 0 0 ref $_[0] eq 'Bot::Cobalt::Core' ? :
398 0 0 unless (&blessed($timer) and $timer->isa('Bot::Cobalt::Timer'))
405 0 0 if ($timer->execute_if_ready)
408 0 0 if $self->debug > 1