blib/lib/MooseX/MultiObject.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 15 | 46.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
46 | 1 | 0 | 0 | exists $args{'class'} and exists $args{'role'} |
line | l | !l | condition |
---|---|---|---|
28 | 0 | 1 | $args{'attribute'} || {'init_arg', 'objects', 'coerce', 1, 'is', 'ro'} |
32 | 0 | 1 | $attribute->{'name'} ||= 'set' |
33 | 0 | 1 | $attribute->{'isa'} ||= 'Set::Object' |
34 | 0 | 1 | $attribute->{'default'} ||= sub { set(); } |
35 | 1 | 0 | $attribute->{'coerce'} //= 1 |
36 | 0 | 1 | $attribute->{'handles'} ||= {} |