Branch Coverage

blib/lib/SWISH/WebService.pm
Criterion Covered Total %
branch 12 46 26.0


line true false branch
301 1 0 if (@_ > 1) { }
0 0 elsif (@_) { }
314 0 0 defined $_[0]->param($_) ? :
324 0 1 if ($self->p > 100)
329 0 1 if (not $self->q) { }
346 0 1 unless $$self{'template'} ||= 'Template'->new
391 1 0 unless ($self->swish)
394 0 1 if ($@) { }
398 0 0 if ($@) { }
421 0 1 if (ref $self->swish eq 'SWISH::API') { }
1 0 elsif ($self->swish->isa('SWISH::API::Remote')) { }
425 0 0 if $self->_check_swish_err
427 0 0 if $self->o
428 0 0 if $self->_check_swish_err
431 0 0 if $self->_check_swish_err
434 0 0 if $self->_check_swish_err
436 0 0 unless (%Headers)
462 1 0 if ($self->results->Error)
467 0 0 unless (%Headers)
510 0 0 if ($self->swish->critical_error)
535 0 1 unless (exists $self->templates->{$method})
543 0 1 unless $self->template->process(\$self->templates->{$method}, {'results', $self->results, 'pager', $self->pager, 'self', $self}, \$response)
561 0 1 if $$self{'pager'}