Condition Coverage

blib/lib/Circle/Collection.pm
Criterion Covered Total %
condition 17 49 34.6


and 3 conditions

line !l l&&!r l&&r condition
182 2 2 0 exists $attrs{$_}{'default'} and $item->{$_} = $attrs{$_}{'default'}
184 2 2 0 defined $opts->{$_} and $item->{$_} = $opts->{$_}
218 0 0 0 exists $opts->{$_} and $mod{$_} = $opts->{$_}
219 0 0 0 exists $$opts{"no-$_"} and $mod{$_} = $attrs{$_}{'default'}
309 0 0 0 $method_load and $self->can($method_load)
325 0 0 0 defined $item->{$_} and $n->{$_} = $item->{$_}
327 0 0 0 $method_store and $self->can($method_store)

or 2 conditions

line l !l condition
266 52 12 defined $commands{$_} or delete $commands{$_}
283 4 8 $config->{'type'} || 'array'

or 3 conditions

line l !l&&r !l&&!r condition
31 0 16 0 $args{'desc_plural'} || $name
32 0 16 0 $args{'desc_single'} || do { $_ = $name; s/s$//; $_ }
154 24 8 0 $attrs{$_}{'desc'} || $_
282 8 4 4 not defined $config or $config
286 8 4 0 $type_array or $type_hash
309 0 0 0 ref $method_load or $method_load and $self->can($method_load)
319 0 0 0 $ynode->{$name} ||= $type_array ? [] : 'YAML::Node'->new({})
327 0 0 0 ref $method_store or $method_store and $self->can($method_store)