Condition Coverage

blib/lib/HTML/Widget/Factory.pm
Criterion Covered Total %
condition 13 25 52.0


and 3 conditions

line !l l&&!r l&&r condition
196 0 22 0 ref $self and $$self{'widgets'}{$method}

or 2 conditions

line l !l condition
85 5 16 $arg ||= {}
103 4 197 ref $_ or $_ = $_->new

or 3 conditions

line l !l&&r !l&&!r condition
56 0 0 0 $default_instance{$_[0]} ||= $_[0]->new
76 1 15 0 $LOADED_DEFAULTS ||= do { &Module::Load::load("$_") foreach (@DEFAULT_PLUGINS); 1 }
87 1 20 0 ref $self || $self
98 5 0 16 $$arg{'plugins'} or $$arg{'extra_plugins'}
170 0 0 57 $widget_name eq 'DESTROY' or $widget_name eq 'CLONE'
173 57 0 0 ref $self || $self