Branch Coverage

blib/lib/HTML/Widget/Factory.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
93 5 16 $arg->{'plugins'} ? :
96 1 20 if ref $self
98 5 16 if ($arg->{'plugins'} or $arg->{'extra_plugins'})
99 0 5 if $arg->{'extra_plugins'}
108 17 203 ref $widget ? :
111 0 220 if $widget{$name}
113 0 220 unless $plugin->can($method)
140 0 10 unless ref $self
142 9 1 if $self->{'widgets'}{$name}
158 0 0 unless ref $self
170 0 58 if $widget_name eq 'DESTROY' or $widget_name eq 'CLONE'
176 0 58 unless ($howto)
196 0 22 if ref $self and $self->{'widgets'}{$method}