Condition Coverage

blib/lib/Class/Component.pm
Criterion Covered Total %
condition 38 53 71.7


and 3 conditions

line !l l&&!r l&&r condition
246 0 0 2 ref $$obj{'plugin'} eq $$remove_obj{'plugin'} and $$obj{'method'} eq $$remove_obj{'method'}
261 0 0 10 $plugin and $real_method

or 2 conditions

line l !l condition
84 2 20 $$default_components{$c} ||= []
85 2 20 $$default_plugins{$c} ||= []
171 5 3 $$plugin{'config'} || {}
193 8 63 $config || $c->class_component_config->{$plugin} || {}
200 20 20 $args ||= {}
203 1 39 $$args{'config'} || $$default_configs{$c} || {}
422 108 18 $isa_list ||= []

or 3 conditions

line l !l&&r !l&&!r condition
45 2 1 0 $_[0] || ref $class || $class
48 4 3 8 $key =~ /^$klass-/ or $key eq $klass
53 0 0 11 $key =~ /^$klass\::/ or $key eq $klass
113 2 0 25 ($pkg = $component) =~ s/^\+// or $pkg = $c->class_component_load_component_resolver($component)
177 9 0 70 ($pkg = $plugin) =~ s/^\+// or $pkg = $c->class_component_load_plugin_resolver($plugin)
313 53 9 0 ref $c || $c
316 53 9 0 $$component_isa_list{"$klass-$caller"} || $class->isa_list_cache($c, $caller)
334 5 130 0 ref $c || $c
342 5 140 0 ref $c || $c
381 574 0 48 not $$isa_mark{$pkg} or $$isa_mark{$pkg}{'nest'} < $nest
412 221 46 0 ref $c || $c