Branch Coverage

blib/lib/Moonshine/Component.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
47 0 0 if (XXX)
48 0 0 if defined $spec->{'build'}
49 0 0 if (exists $spec->{'base'})
52 0 0 if $param
53 0 0 if $spec
58 0 0 if (exists $html_spec{$key}) { }
0 0 elsif (exists $modifier_spec{$key}) { }
59 0 0 if (defined $spec)
62 0 0 if (exists $args{'params'}{$key})
68 0 0 if (defined $spec)
71 0 0 if (exists $args{'params'}{$key})
95 0 0 if (defined $modifier{$element})
101 0 0 if (scalar keys %modifier and $self->can('modify'))
115 0 0 if (XXX and $build->isa('Moonshine::Element')) { }
0 0 elsif (my $action = delete $build->{'action'}) { }
0 0 elsif (defined $build->{'tag'}) { }
119 0 0 unless $self->can($action) and $element = $self->$action($build)