Branch Coverage

blib/lib/Plack/App/Tags/HTML.pm
Criterion Covered Total %
branch 22 28 78.5


line true false branch
18 1 8 if (defined $self->data_css)
33 9 2 if ($Plack::App::Tags::HTML::EVAL_ERROR)
51 9 2 unless ($self->_loaded_component($component))
53 2 7 if ($Plack::App::Tags::HTML::EVAL_ERROR)
61 1 8 defined $self->constructor_args ? :
64 0 9 unless ($self->{'_component'}->isa("Tags::HTML"))
69 9 0 if ($self->{'_component'}->can("prepare"))
71 1 8 if (defined $self->data_prepare)
78 9 0 if ($self->{'_component'}->can("css_src"))
83 9 0 if ($self->{'_component'}->can("script_js_src"))
93 9 0 if ($self->{'_component'}->can("init"))
94 1 8 if (defined $self->data_init) { }
102 9 0 if ($self->{'_component'}->can("script_js"))
116 2 7 if (defined $self->data)