Branch Coverage

blib/lib/Event/RPC/Connection.pm
Criterion Covered Total %
branch 0 92 0.0


line true false branch
47 0 0 if ($sock)
60 0 0 if $connection_hook
69 0 0 if $self->get_write_watcher
86 0 0 if $connection_hook
96 0 0 unless $self->get_client_objects->{$oid}
105 0 0 if (@_ == 2) { }
124 0 0 unless ($message)
132 0 0 if $request eq '' and $error eq ''
136 0 0 if $request eq "DISCONNECT\n" or $error =~ /DISCONNECTED/
143 0 0 unless $error
147 0 0 if ($error) { }
0 0 elsif ($cmd eq 'version') { }
0 0 elsif ($cmd eq 'auth') { }
0 0 elsif ($server->get_auth_required and not $self->get_is_authenticated) { }
0 0 elsif ($cmd eq 'new') { }
0 0 elsif ($cmd eq 'exec') { }
0 0 elsif ($cmd eq 'classes_list') { }
0 0 elsif ($cmd eq 'class_info') { }
0 0 elsif ($cmd eq 'class_info_all') { }
0 0 elsif ($cmd eq 'client_destroy') { }
204 0 0 if ($message->write)
205 0 0 if $self->get_write_watcher
228 0 0 unless $auth_module
234 0 0 if ($ok) { }
263 0 0 if (not defined $self->get_classes->{$class}{$class_method} or $self->get_classes->{$class}{$class_method} ne '_constructor')
274 0 0 if $self->get_server->get_load_modules
285 0 0 if ($@)
316 0 0 if (not $load_class_info or $self->get_server->get_auto_reload_modules and ($mtime = (stat $load_class_info->{'filename'})[9]) > $load_class_info->{'mtime'})
321 0 0 unless ($load_class_info->{'filename'})
328 0 0 if -f "$dir/$rel_filename"
332 0 0 unless $filename
342 0 0 if $mtime > $load_class_info->{'mtime'}
346 0 0 if ($@) { }
378 0 0 unless (defined $object_entry)
388 0 0 unless (defined $self->get_classes->{$class} and defined $self->get_classes->{$class}{$method})
402 0 0 if $self->get_server->get_load_modules
413 0 0 if ($@)
426 0 0 if ($return_type eq '_object')
432 0 0 if (ref $rc and not ref($rc) =~ /ARRAY|HASH|SCALAR/) { }
0 0 elsif (ref $rc eq 'ARRAY') { }
0 0 elsif (ref $rc eq 'HASH') { }
448 0 0 if (ref $val and not ref($val) =~ /ARRAY|HASH|SCALAR/)
464 0 0 if (ref $val and not ref($val) =~ /ARRAY|HASH|SCALAR/)
515 0 0 unless (defined $self->get_classes->{$class})
547 0 0 if (defined $self->get_classes->{ref $par})
551 0 0 unless defined $self->get_objects->{$key}