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'})
82 0 5 if ($self->tags) { }
83 0 0 unless (&blessed(scalar $self->tags) and $self->tags->isa("Tags::Output"))
94 0 5 if ($self->css) { }
95 0 0 unless (&blessed(scalar $self->css) and $self->css->isa("CSS::Struct::Output"))
102 4 1 unless ($self->encoding)
106 4 1 unless ($self->content_type)
110 4 1 unless ($self->status_code)
114 3 2 unless (defined $self->flag_begin)
118 3 2 unless (defined $self->flag_end)
122 5 0 unless (defined $self->script_js)
126 5 0 unless (defined $self->script_js_src)
130 3 2 if ($self->flag_begin)
131 2 1 defined $self->css_init ? :
167 2 2 if ($self->flag_begin)
173 2 2 if ($self->flag_end)