| blib/lib/Moonshine/Element.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 32 | 81.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 77 | 7 | 0 | 11 | XXX and not XXX |
| 79 | 5 | 1 | 1 | XXX and XXX |
| 6 | 0 | 1 | XXX and XXX and map {$_[0]{$attr}{$_} = $_[1]{$_};} keys %{$_[1];} | |
| 129 | 6 | 5 | 8 | defined $_[2] and my $parent = $_[0]{'parent'} |
| 215 | 1 | 12 | 17 | $e->$has and $e->_attribute_value($_, $has) =~ /$_[1]/ |
| 244 | 12 | 7 | 18 | $e->$has and $e->_attribute_value($_, $has) =~ /$_[1]/ |
| 289 | 3 | 0 | 114 | XXX and $value .= $_ |
| line | l | !l | condition |
|---|---|---|---|
| 236 | 37 | 9 | $_[3] //= [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 107 | 3 | 0 | 50 | XXX or XXX |
| 118 | 8 | 44 | 0 | $parent // $self |
| 275 | 175 | 62 | 0 | $has_action //= sprintf("has_%s", $attribute) |