Condition Coverage

blib/lib/Class/Container.pm
Criterion Covered Total %
condition 30 50 60.0


and 3 conditions

line !l l&&!r l&&r condition
146 2 0 16 ref $self and defined $$self{$param}
209 30 0 3 @_ == 1 && !defined($_[0])
293 5 0 3 $args{'decorate_class'} and not ref $args{'decorate_class'}

or 2 conditions

line l !l condition
114 0 0 $$spec{'descr'} || '(No description available)'
161 2 4 $$self{'container'}{'contained'}{$name}{'args'} || {}
211 37 1 $VALID_PARAMS{$class} ||= {}
306 3 32 delete $args{'container'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
52 0 54 0 ref $proto || $proto
115 0 0 0 defined $default || $$spec{'optional'}
140 10 2 0 ref $self || $self
185 4 14 0 $args{'args'}{"${name}_class"} || $$spec{'class'}
252 0 5 0 $super ||= ${$class . '::ISA';}[0]
287 27 8 19 %$c or $DECORATEES{$class}
329 1 25 0 $args{$name} ||= $to_create{$name}{'class'}->new(%{$to_create{$name}{'args'};})
403 9 38 0 $$args{"${name}_class"} || $$spec{'class'}
469 25 17 0 $p{$_} ||= $$subparams{$_}
499 51 0 207 ref $_[0] || $_[0]
503 0 0 193 ref $_[0] || $_[0]