Branch Coverage

lib/PSGI/Hector/Response/TemplateToolkit.pm
Criterion Covered Total %
branch 8 24 33.3


line true false branch
101 0 2 unless ($self->getTemplate)
105 0 2 unless ($self->getError or $self->header('Location') or $self->getTemplate)
108 1 1 if ($self->_getDisplayedHeader) { }
113 0 1 if ($self->header('Location')) { }
118 1 0 unless ($self->header('Content-Type'))
124 0 1 if ($self->getError and $self->code =~ /^[123]/)
130 0 2 if ($self->getError)
209 0 0 if ($tt) { }
210 0 0 unless ($self->getError)
212 0 0 unless ($result)
220 0 0 if ($self->getError)
222 0 0 unless ($result)