Condition Coverage

blib/lib/Moonshine/Template.pm
Criterion Covered Total %
condition 5 34 14.7


and 2 conditions

line l !l condition
131 0 0 $previous and $previous eq $key and die "$key target - $value->{'target'} does not exist in the spec"
136 0 0 unshift @configs, {$key, $value} and next
187 0 0 XXX and return $$val{$_[1]}
0 0 XXX and return map({$config->{$_} = $_[1]{$_};} keys %{$_[1];})

and 3 conditions

line !l l&&!r l&&r condition
80 13 0 0 $self->can('config') && $self->config
131 0 0 0 $previous and $previous eq $key
139 0 0 0 $target eq 'base_element' and unshift @configs, {$key, $value}
183 0 0 0 XXX and not XXX
187 0 0 0 XXX and (XXX and return map({$config->{$_} = $_[1]{$_};} keys %{$_[1];}))

or 2 conditions

line l !l condition
24 0 13 $build_args->{'config'} // {}
59 0 0 $base_element_args->{'template_args'} // {}
80 0 13 $self->can('config') && $self->config // {}
103 0 0 $value->{'action'} // 'add_child'

or 3 conditions

line l !l&&r !l&&!r condition
27 1 0 12 $build_args->{'base_element'} // delete $config->{'base_element'}