blib/lib/Moonshine/Element.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 32 | 31.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
77 | 0 | 0 | 3 | XXX and not XXX |
79 | 0 | 0 | 0 | XXX and XXX |
0 | 0 | 0 | XXX and XXX and map {$_[0]{$attr}{$_} = $_[1]{$_};} keys %{$_[1];} | |
129 | 1 | 2 | 5 | defined $_[2] and my $parent = $_[0]{'parent'} |
209 | 0 | 0 | 0 | $e->$has and $e->_attribute_value($_, $has) =~ /$_[1]/ |
238 | 0 | 0 | 0 | $e->$has and $e->_attribute_value($_, $has) =~ /$_[1]/ |
283 | 0 | 0 | 9 | XXX and $value .= $_ |
line | l | !l | condition |
---|---|---|---|
230 | 0 | 0 | $_[3] //= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
107 | 0 | 0 | 3 | XXX or XXX |
118 | 5 | 3 | 0 | $parent // $self |
269 | 36 | 2 | 0 | $has_action //= sprintf('has_%s', $attribute) |