Branch Coverage

blib/lib/RPC/ExtDirect/Request.pm
Criterion Covered Total %
branch 46 50 92.0


line true false branch
51 31 40 exists $arg->{'debug'} ? :
65 2 69 if $@
75 4 65 unless $method_ref
92 5 60 if defined $exception
107 53 127 if $hook
135 1 55 if ($method_ref->pollHandler) { }
148 14 41 if ($method_ref->formHandler)
151 2 12 if ('HASH' ne ref $data or not exists $data->{'extAction'} or not exists $data->{'extMethod'})
174 2 103 if (my $error = $@)
202 1 60 if $self->run_count > 0
230 26 34 if $self->before and $self->before->runnable
234 55 5 if $run_method
238 24 36 if $self->after and $self->after->runnable
246 5 55 if $exception
279 0 0 'ARRAY' eq ref $self->{'data'} ? :
0 0 'HASH' eq ref $self->{'data'} ? :
328 9 6 unless ($where)
351 1 3 unless (defined $where)
404 6 65 $arg->{'extUpload'} eq 'true' ? :
407 1 70 unless defined $action and length $action > 0
410 1 69 unless defined $method and length $method > 0
421 14 55 %aux ? :
443 3 23 if ($@)
451 5 21 if ($hook_result ne '1')
470 1 54 $run_hook ? :