Branch Coverage

blib/lib/Plack/App/Tags/HTML.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
17 6 0 if ($self->{'_component'}->can("process_css"))
19 0 6 if (defined $self->data_css)
35 5 1 if ($Plack::App::Tags::HTML::EVAL_ERROR)
53 5 1 unless ($self->_loaded_component($component))
55 0 5 if ($Plack::App::Tags::HTML::EVAL_ERROR)
63 0 6 defined $self->constructor_args ? :
66 0 6 unless ($self->{'_component'}->isa("Tags::HTML"))
71 6 0 if ($self->{'_component'}->can("prepare"))
73 1 5 if (defined $self->data_prepare)
85 6 0 if ($self->{'_component'}->can("init"))
87 1 5 if (defined $self->data_init)
100 1 5 if (defined $self->data)