Branch Coverage

blib/lib/Hoppy.pm
Criterion Covered Total %
branch 14 42 33.3


line true false branch
27 0 6 if (my $hook = $self->hook->{'start'})
35 0 6 if (my $hook = $self->hook->{'stop'})
47 1 0 if ($method eq 'login') { }
0 0 elsif ($$self{'not_authorized'}{$session_id}) { }
59 0 0 unless $user
73 0 1 if (not $session_id and $user_id)
91 0 0 if ($sender and $session_id != $sender)
103 0 0 if ($sender and $session_id != $sender)
114 0 0 if (not ref $class) { }
115 0 0 unless $class->require
130 0 0 if (not ref $class) { }
131 0 0 unless $class->require
145 0 6 if ($self->config->{'test'} and $self->config->{'test'} == 1) { }
1 10 elsif ($self->config->{'test'} and $self->config->{'test'} == 2) { }
149 0 1 unless 'Hoppy::TestFilter'->require
187 0 6 unless $class->require
198 1 5 if ($self->config->{'regist_services'})
207 0 13 unless $class->require
216 0 6 if ($self->config->{'regist_hooks'})
225 0 0 unless $class->require
234 0 6 unless $class->require