| blib/lib/MooX/XSConstructor.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 15 | 73.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 142 | 0 | 0 | 7 | $ok and my $meta = Class::XSConstructor::get_metadata($klass) |
| 143 | 1 | 2 | 4 | defined $meta->{'foreignclass'} and $meta->{'foreignclass'} eq 'Moo::Object' || $self->is_suitable_class($meta->{'foreignclass'}) |
| 152 | 1 | 0 | 6 | $meta->{'buildargs'} and $meta->{'buildargs'} == \&Moo::Object::BUILDARGS |
| 178 | 6 | 0 | 1 | @_ and $_[0] eq "-wrapconstructor" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 143 | 1 | 4 | 1 | $meta->{'foreignclass'} eq 'Moo::Object' || $self->is_suitable_class($meta->{'foreignclass'}) |