Branch Coverage

blib/lib/Convos/Core.pm
Criterion Covered Total %
branch 1 56 1.7


line true false branch
69 0 0 if $$self{'start'}++
96 0 0 if --$$conn{'core_connect_timer'}
115 0 0 unless $$instruction[1]
150 0 0 if ($validation->has_error)
167 0 0 if ($exists)
209 0 0 if ($validation->has_error)
228 0 0 unless ($current and %$current)
243 0 0 if ($$current{'server'} ne $$conn{'server'})
248 0 0 if ($$current{'nick'} ne $$conn{'nick'})
276 0 0 if ($validation->has_error)
294 0 0 unless ($removed[0])
306 0 0 if @$keys
339 0 0 if @$keys
370 0 0 unless my $conn = $$self{'connections'}{$id}
388 0 0 if (my $conn = $$self{'connections'}{$id}) { }
433 0 0 if ($validation->has_error)
448 0 0 if (not $digest) { }
0 0 elsif ($digest eq crypt(scalar $validation->param('password'), $digest)) { }
468 0 0 unless ($conn)
472 0 0 if $_[1]{'message'} and $_[1]{'timestamp'}
487 0 0 if (UNIVERSAL::isa($input, 'Mojolicious::Validator::Validation')) { }
496 0 0 if ($k eq 'password') { }
0 0 elsif ($k eq 'username') { }
0 0 elsif ($k eq 'login') { }
0 0 elsif ($k eq 'name') { }
0 0 elsif ($k eq 'nick') { }
0 0 elsif ($k eq 'server') { }
512 0 1 if $tid = $$self{'connect_tid'}