Branch Coverage

blib/lib/Elive/Connection.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
74 0 0 if ($userinfo) { }
82 0 0 if ($uri_user)
83 0 0 if ($user and $user ne $uri_user) { }
91 0 0 if ($uri_pass)
92 0 0 if ($pass and $pass ne $uri_pass) { }
101 0 0 if $debug
106 0 0 unless defined $pass
110 0 0 if @path and not $path[0]
113 0 0 if @path and $path[-1] eq 'webservice.event'
128 0 0 if (@path and $path[-1] =~ /^v(\d+)$/)
129 0 0 unless $1 == 2
141 0 0 if $userinfo
159 0 0 unless $som
162 0 0 if $som->fault
167 0 0 if $class->debug
173 0 0 unless &Scalar::Util::reftype($result)
178 0 0 if ($$result{'Code'} and my $code = $$result{'Code'}{'Value'})
190 0 0 if ($stack and my $trace = $$stack{'Trace'})
191 0 0 Elive::Util::_reftype($trace) eq 'ARRAY' ? :
199 0 0 if $_
200 0 0 @error ? :
223 0 0 if (Elive::Util::_reftype($commands) eq 'CODE')
227 0 0 unless Elive::Util::_reftype($commands) eq 'ARRAY'
231 0 0 unless @$commands and $$commands[0]
236 0 0 unless $known_commands and keys %{$known_commands;}
240 0 0 unless $command
243 0 0 if ($crud)
245 0 0 unless $crud =~ /^[c|r|u|d]$/xi
249 0 0 unless $command_type and $command_type =~ /^[c|r|u|d]+$/xi
252 0 0 unless $crud =~ /[$command_type]/i
288 0 0 unless &Scalar::Util::blessed($value) and try sub { $value->isa('SOAP::Data'); }