Branch Coverage

blib/lib/Plack/Component/Tags/HTML.pm
Criterion Covered Total %
branch 26 34 76.4


line true false branch
27 1 4 if ($self->psgi_app)
34 2 2 if (defined $self->{'_page_begin'})
56 0 5 if ($self->tags) { }
57 0 0 unless (&blessed(scalar $self->tags) and $self->tags->isa("Tags::Output"))
68 0 5 if ($self->css) { }
69 0 0 unless (&blessed(scalar $self->css) and $self->css->isa("CSS::Struct::Output"))
76 4 1 unless ($self->encoding)
80 4 1 unless ($self->content_type)
84 4 1 unless ($self->status_code)
88 3 2 unless (defined $self->flag_begin)
92 3 2 unless (defined $self->flag_end)
96 5 0 unless (defined $self->script_js)
100 5 0 unless (defined $self->script_js_src)
104 3 2 if ($self->flag_begin)
105 2 1 defined $self->css_init ? :
167 2 2 if ($self->flag_begin)
173 2 2 if ($self->flag_end)