Condition Coverage

blib/lib/Catmandu/Store.pm
Criterion Covered Total %
condition 16 23 69.5


or 2 conditions

line l !l condition
38 0 43 $opts ||= {}
42 17 26 $self->bag_options->{$opts->{'name'}} //= {}
47 13 30 delete $opts->{'plugins'} // []
59 112 37 $bag_instances{$self} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
40 43 0 0 $name // $self->default_bag
45 0 43 0 delete $opts->{'class'} // $self->bag_class
48 2 12 29 @$default_plugins or @$plugins
64 39 110 0 $name ||= $self->default_bag
65 106 43 0 $self->bags->{$name} ||= $self->new_bag($name)